org.apache.axis2.wsdl.codegen
Class CodeGenConfiguration

java.lang.Object
  extended by org.apache.axis2.wsdl.codegen.CodeGenConfiguration
All Implemented Interfaces:
CommandLineOptionConstants

public class CodeGenConfiguration
extends java.lang.Object
implements CommandLineOptionConstants


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.axis2.util.CommandLineOptionConstants
CommandLineOptionConstants.ExtensionArguments, CommandLineOptionConstants.WSDL2JavaConstants
 
Field Summary
 
Fields inherited from interface org.apache.axis2.util.CommandLineOptionConstants
SOLE_INPUT
 
Constructor Summary
CodeGenConfiguration(java.util.Map optionMap)
          Constructor for the configuration.
 
Method Summary
 void addAxisService(AxisService axisService)
           
 void addXmlFileName(java.lang.String fileName)
           
 AxisService getAxisService()
           
 java.util.List getAxisServices()
           
 java.lang.String getBaseURI()
           
 java.util.Map getConfigurationProperties()
           
 java.lang.String getDatabindingType()
           
 java.lang.String getExcludeProperties()
           
 java.lang.String getOutputLanguage()
           
 java.io.File getOutputLocation()
           
 java.util.List getOutputXmlFileNamesList()
           
 java.lang.String getPackageName()
           
 java.util.Map getPolicyMap()
          Gets the policy map.
 java.lang.String getPortName()
           
 java.util.Map getProperties()
          Gets all property objects.
 java.lang.Object getProperty(java.lang.Object key)
          Gets the property from the configuration.
 java.lang.String getRepositoryPath()
           
 java.lang.String getResourceLocation()
           
 java.util.List getSchemaListForAllServices()
           
 java.lang.String getServiceName()
           
 java.lang.String getSkeltonClassName()
           
 java.lang.String getSkeltonInterfaceName()
           
 java.lang.String getSourceLocation()
           
 java.lang.String getTargetNamespace()
           
 TypeMapper getTypeMapper()
           
 java.io.File getTypeMappingFile()
           
 java.util.Map getUri2PackageNameMap()
           
 javax.wsdl.Definition getWsdlDefinition()
           
 java.lang.String getWSDLVersion()
           
 java.lang.String getXsdConfigFile()
          Deprecated.  
 boolean isAdvancedCodeGenEnabled()
           
 boolean isAllPorts()
           
 boolean isAsyncOn()
           
 boolean isBackwordCompatibilityMode()
           
 boolean isFlattenFiles()
           
 boolean isGenerateAll()
           
 boolean isGenerateDeployementDescriptor()
           
 boolean isOverride()
           
 boolean isPackClasses()
          Gets the wrap classes flag.
 boolean isParametersWrapped()
           
 boolean isServerSide()
           
 boolean isServerSideInterface()
           
 boolean isSetoutputSourceLocation()
           
 boolean isSkipBuildXML()
           
 boolean isSkipMessageReceiver()
           
 boolean isSkipWriteWSDLs()
           
 boolean isSuppressPrefixesMode()
           
 boolean isSyncOn()
           
 boolean isWriteTestCase()
           
 void putProperty(java.lang.Object key, java.lang.Object value)
          Puts a property into the configuration.
 void setAdvancedCodeGenEnabled(boolean advancedCodeGenEnabled)
           
 void setAllPorts(boolean allPorts)
           
 void setAsyncOn(boolean asyncOn)
           
 void setAxisService(AxisService axisService)
           
 void setAxisServices(java.util.List axisServices)
           
 void setBackwordCompatibilityMode(boolean backwordCompatibilityMode)
           
 void setBaseURI(java.lang.String baseURI)
           
 void setConfigurationProperties(java.util.Map configurationProperties)
           
 void setDatabindingType(java.lang.String databindingType)
           
 void setExcludeProperties(java.lang.String excludeProperties)
           
 void setFlattenFiles(boolean flattenFiles)
           
 void setGenerateAll(boolean generateAll)
           
 void setGenerateDeployementDescriptor(boolean generateDeployementDescriptor)
           
 void setOutputLanguage(java.lang.String outputLanguage)
           
 void setOutputLocation(java.io.File outputLocation)
           
 void setoutputSourceLocation(boolean setoutputsourcelocation)
           
 void setOutputXmlFileNamesList(java.util.List outputXmlFileNamesList)
           
 void setOverride(boolean override)
           
 void setPackageName(java.lang.String packageName)
           
 void setPackClasses(boolean packClasses)
          Sets the wrap classes flag.
 void setParametersWrapped(boolean parametersWrapped)
           
 void setPolicyMap(java.util.Map policyMap)
          Sets the policy map.
 void setPortName(java.lang.String portName)
           
 void setRepositoryPath(java.lang.String repositoryPath)
           
 void setResourceLocation(java.lang.String resourceLocation)
           
 void setServerSide(boolean serverSide)
           
 void setServerSideInterface(boolean serverSideInterface)
           
 void setServiceName(java.lang.String serviceName)
           
 void setSkeltonClassName(java.lang.String skeltonClassName)
           
 void setSkeltonInterfaceName(java.lang.String skeltonInterfaceName)
           
 void setSkipBuildXML(boolean skipBuildXML)
           
 void setSkipMessageReceiver(boolean skipMessageReceiver)
           
 void setSkipWriteWSDLs(boolean writeWriteWSDLs)
           
 void setSourceLocation(java.lang.String sourceLocation)
           
 void setSuppressPrefixesMode(boolean suppressPrefixesMode)
           
 void setSyncOn(boolean syncOn)
           
 void setTypeMapper(TypeMapper typeMapper)
           
 void setTypeMappingFile(java.io.File typeMappingFile)
           
 void setUri2PackageNameMap(java.util.Map uri2PackageNameMap)
           
 void setWriteTestCase(boolean writeTestCase)
           
 void setWsdlDefinition(javax.wsdl.Definition wsdlDefinition)
           
 void setWSDLVersion(java.lang.String WSDLVersion)
           
 void setXsdConfigFile(java.lang.String xsdConfigFile)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeGenConfiguration

public CodeGenConfiguration(java.util.Map optionMap)
Constructor for the configuration. It populates the values using the options map.

Parameters:
optionMap -
Method Detail

getWSDLVersion

public java.lang.String getWSDLVersion()

setWSDLVersion

public void setWSDLVersion(java.lang.String WSDLVersion)

getTypeMappingFile

public java.io.File getTypeMappingFile()

setTypeMappingFile

public void setTypeMappingFile(java.io.File typeMappingFile)

getUri2PackageNameMap

public java.util.Map getUri2PackageNameMap()

setUri2PackageNameMap

public void setUri2PackageNameMap(java.util.Map uri2PackageNameMap)

getXsdConfigFile

public java.lang.String getXsdConfigFile()
Deprecated. 

Returns the xsdconfig file to use for XMLBeans data binding.

Returns:
Full path and name of XMLBeans xsdconfig file to use

setXsdConfigFile

public void setXsdConfigFile(java.lang.String xsdConfigFile)
Deprecated. 

Sets the xsdconfig file to use for XMLBeans data binding.

Parameters:
xsdConfigFile - Full path and name of XMLBeans xsdconfig file to use

isFlattenFiles

public boolean isFlattenFiles()

setFlattenFiles

public void setFlattenFiles(boolean flattenFiles)

getResourceLocation

public java.lang.String getResourceLocation()

setResourceLocation

public void setResourceLocation(java.lang.String resourceLocation)

getSourceLocation

public java.lang.String getSourceLocation()

setSourceLocation

public void setSourceLocation(java.lang.String sourceLocation)

isParametersWrapped

public boolean isParametersWrapped()

setParametersWrapped

public void setParametersWrapped(boolean parametersWrapped)

getBaseURI

public java.lang.String getBaseURI()

setBaseURI

public void setBaseURI(java.lang.String baseURI)

getConfigurationProperties

public java.util.Map getConfigurationProperties()

setConfigurationProperties

public void setConfigurationProperties(java.util.Map configurationProperties)

setOutputLanguage

public void setOutputLanguage(java.lang.String outputLanguage)

setAdvancedCodeGenEnabled

public void setAdvancedCodeGenEnabled(boolean advancedCodeGenEnabled)

setAsyncOn

public void setAsyncOn(boolean asyncOn)

setSyncOn

public void setSyncOn(boolean syncOn)

setServerSide

public void setServerSide(boolean serverSide)

setGenerateDeployementDescriptor

public void setGenerateDeployementDescriptor(boolean generateDeployementDescriptor)

setWriteTestCase

public void setWriteTestCase(boolean writeTestCase)

setOutputLocation

public void setOutputLocation(java.io.File outputLocation)

isServerSideInterface

public boolean isServerSideInterface()

setServerSideInterface

public void setServerSideInterface(boolean serverSideInterface)

isSetoutputSourceLocation

public boolean isSetoutputSourceLocation()

getPortName

public java.lang.String getPortName()

setPortName

public void setPortName(java.lang.String portName)

getServiceName

public java.lang.String getServiceName()

setServiceName

public void setServiceName(java.lang.String serviceName)

isGenerateAll

public boolean isGenerateAll()

setGenerateAll

public void setGenerateAll(boolean generateAll)

isPackClasses

public boolean isPackClasses()
Gets the wrap classes flag.

Returns:
Returns true if it is a wrap class, else returns false.

setPackClasses

public void setPackClasses(boolean packClasses)
Sets the wrap classes flag.

Parameters:
packClasses -

getPolicyMap

public java.util.Map getPolicyMap()
Gets the policy map.

Returns:
Returns Map.

setPolicyMap

public void setPolicyMap(java.util.Map policyMap)
Sets the policy map.

Parameters:
policyMap -

putProperty

public void putProperty(java.lang.Object key,
                        java.lang.Object value)
Puts a property into the configuration.

Parameters:
key -
value -

getProperty

public java.lang.Object getProperty(java.lang.Object key)
Gets the property from the configuration.

Parameters:
key -
Returns:
Returns the property as Object.

getProperties

public java.util.Map getProperties()
Gets all property objects.

Returns:
Returns Map of all properties.

getTypeMapper

public TypeMapper getTypeMapper()
Returns:
Returns TypeMapper.

setTypeMapper

public void setTypeMapper(TypeMapper typeMapper)
Parameters:
typeMapper -

getDatabindingType

public java.lang.String getDatabindingType()
Returns:
Returns String.

setDatabindingType

public void setDatabindingType(java.lang.String databindingType)
Parameters:
databindingType -

getOutputLocation

public java.io.File getOutputLocation()
Returns:
Returns the outputLocation.

getOutputLanguage

public java.lang.String getOutputLanguage()

isAdvancedCodeGenEnabled

public boolean isAdvancedCodeGenEnabled()

getPackageName

public java.lang.String getPackageName()
Returns:
Returns the packageName.

setPackageName

public void setPackageName(java.lang.String packageName)
Parameters:
packageName - The packageName to set.

isAsyncOn

public boolean isAsyncOn()

isSyncOn

public boolean isSyncOn()

isServerSide

public boolean isServerSide()

isGenerateDeployementDescriptor

public boolean isGenerateDeployementDescriptor()

isSkipBuildXML

public boolean isSkipBuildXML()

setSkipBuildXML

public void setSkipBuildXML(boolean skipBuildXML)

isWriteTestCase

public boolean isWriteTestCase()

isSkipWriteWSDLs

public boolean isSkipWriteWSDLs()

setSkipWriteWSDLs

public void setSkipWriteWSDLs(boolean writeWriteWSDLs)

isSkipMessageReceiver

public boolean isSkipMessageReceiver()

setSkipMessageReceiver

public void setSkipMessageReceiver(boolean skipMessageReceiver)

setRepositoryPath

public void setRepositoryPath(java.lang.String repositoryPath)

getRepositoryPath

public java.lang.String getRepositoryPath()

getAxisServices

public java.util.List getAxisServices()

setAxisServices

public void setAxisServices(java.util.List axisServices)

addAxisService

public void addAxisService(AxisService axisService)

getAxisService

public AxisService getAxisService()

setAxisService

public void setAxisService(AxisService axisService)

isBackwordCompatibilityMode

public boolean isBackwordCompatibilityMode()

setBackwordCompatibilityMode

public void setBackwordCompatibilityMode(boolean backwordCompatibilityMode)

isSuppressPrefixesMode

public boolean isSuppressPrefixesMode()

setSuppressPrefixesMode

public void setSuppressPrefixesMode(boolean suppressPrefixesMode)

getTargetNamespace

public java.lang.String getTargetNamespace()

getSchemaListForAllServices

public java.util.List getSchemaListForAllServices()

getWsdlDefinition

public javax.wsdl.Definition getWsdlDefinition()

setWsdlDefinition

public void setWsdlDefinition(javax.wsdl.Definition wsdlDefinition)

isAllPorts

public boolean isAllPorts()

setAllPorts

public void setAllPorts(boolean allPorts)

isOverride

public boolean isOverride()

setOverride

public void setOverride(boolean override)

getOutputXmlFileNamesList

public java.util.List getOutputXmlFileNamesList()

setOutputXmlFileNamesList

public void setOutputXmlFileNamesList(java.util.List outputXmlFileNamesList)

addXmlFileName

public void addXmlFileName(java.lang.String fileName)

setoutputSourceLocation

public void setoutputSourceLocation(boolean setoutputsourcelocation)

getExcludeProperties

public java.lang.String getExcludeProperties()

setExcludeProperties

public void setExcludeProperties(java.lang.String excludeProperties)

getSkeltonInterfaceName

public java.lang.String getSkeltonInterfaceName()

setSkeltonInterfaceName

public void setSkeltonInterfaceName(java.lang.String skeltonInterfaceName)

getSkeltonClassName

public java.lang.String getSkeltonClassName()

setSkeltonClassName

public void setSkeltonClassName(java.lang.String skeltonClassName)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.