Package org.apache.axis2.wsdl.codegen
Class CodeGenConfiguration
- java.lang.Object
-
- org.apache.axis2.wsdl.codegen.CodeGenConfiguration
-
- All Implemented Interfaces:
CommandLineOptionConstants
public class CodeGenConfiguration extends 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
Constructors Constructor Description CodeGenConfiguration()
Constructor for the configuration.
-
Method Summary
-
-
-
Method Detail
-
getWSDLVersion
public String getWSDLVersion()
-
setWSDLVersion
public void setWSDLVersion(String WSDLVersion)
-
getTypeMappingFile
public File getTypeMappingFile()
-
setTypeMappingFile
public void setTypeMappingFile(File typeMappingFile)
-
getXsdConfigFile
public 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(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 String getResourceLocation()
-
setResourceLocation
public void setResourceLocation(String resourceLocation)
-
getSourceLocation
public String getSourceLocation()
-
setSourceLocation
public void setSourceLocation(String sourceLocation)
-
isParametersWrapped
public boolean isParametersWrapped()
-
setParametersWrapped
public void setParametersWrapped(boolean parametersWrapped)
-
getBaseURI
public String getBaseURI()
-
setBaseURI
public void setBaseURI(String baseURI)
-
setConfigurationProperties
public void setConfigurationProperties(Map<Object,Object> configurationProperties)
-
setOutputLanguage
public void setOutputLanguage(String outputLanguage)
-
setOutputEncoding
public void setOutputEncoding(String outputEncoding)
-
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(File outputLocation)
-
isServerSideInterface
public boolean isServerSideInterface()
-
setServerSideInterface
public void setServerSideInterface(boolean serverSideInterface)
-
isSetoutputSourceLocation
public boolean isSetoutputSourceLocation()
-
getPortName
public String getPortName()
-
setPortName
public void setPortName(String portName)
-
getServiceName
public String getServiceName()
-
setServiceName
public void setServiceName(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 Map getPolicyMap()
Gets the policy map.- Returns:
- Returns Map.
-
setPolicyMap
public void setPolicyMap(Map policyMap)
Sets the policy map.- Parameters:
policyMap
-
-
putProperty
public void putProperty(Object key, Object value)
Puts a property into the configuration.- Parameters:
key
-value
-
-
getProperty
public Object getProperty(Object key)
Gets the property from the configuration.- Parameters:
key
-- Returns:
- Returns the property as Object.
-
getProperties
public Map<Object,Object> 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 String getDatabindingType()
- Returns:
- Returns String.
-
setDatabindingType
public void setDatabindingType(String databindingType)
- Parameters:
databindingType
-
-
getOutputLocation
public File getOutputLocation()
- Returns:
- Returns the outputLocation.
-
getOutputLanguage
public String getOutputLanguage()
-
getOutputEncoding
public String getOutputEncoding()
-
isAdvancedCodeGenEnabled
public boolean isAdvancedCodeGenEnabled()
-
getPackageName
public String getPackageName()
- Returns:
- Returns the packageName.
-
setPackageName
public void setPackageName(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(String repositoryPath)
-
getRepositoryPath
public String getRepositoryPath()
-
getAxisServices
public List<AxisService> getAxisServices()
-
setAxisServices
public void setAxisServices(List<AxisService> 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 String getTargetNamespace()
-
getSchemaListForAllServices
public List<org.apache.ws.commons.schema.XmlSchema> 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)
-
addOutputFileName
public void addOutputFileName(String fileName)
-
setoutputSourceLocation
public void setoutputSourceLocation(boolean setoutputsourcelocation)
-
getExcludeProperties
public String getExcludeProperties()
-
setExcludeProperties
public void setExcludeProperties(String excludeProperties)
-
getSkeltonInterfaceName
public String getSkeltonInterfaceName()
-
setSkeltonInterfaceName
public void setSkeltonInterfaceName(String skeltonInterfaceName)
-
getSkeltonClassName
public String getSkeltonClassName()
-
setSkeltonClassName
public void setSkeltonClassName(String skeltonClassName)
-
isOverrideAbsoluteAddress
public boolean isOverrideAbsoluteAddress()
-
setOverrideAbsoluteAddress
public void setOverrideAbsoluteAddress(boolean overrideAbsoluteAddress)
-
getExceptionBaseClassName
public String getExceptionBaseClassName()
-
setExceptionBaseClassName
public void setExceptionBaseClassName(String exceptionBaseClassName)
-
isUseOperationName
public boolean isUseOperationName()
-
setUseOperationName
public void setUseOperationName(boolean useOperationName)
-
loadWsdl
public void loadWsdl(String wsdlUri) throws CodeGenerationException
- Throws:
CodeGenerationException
-
-