org.apache.axis2.wsdl.codegen
Class CodeGenConfiguration
java.lang.Object
org.apache.axis2.wsdl.codegen.CodeGenConfiguration
- All Implemented Interfaces:
- CommandLineOptionConstants
- public class CodeGenConfiguration
- extends java.lang.Object
- implements CommandLineOptionConstants
Fields inherited from interface org.apache.axis2.wsdl.codegen.CommandLineOptionConstants |
CODEGEN_ASYNC_ONLY_OPTION, CODEGEN_SYNC_ONLY_OPTION, DATA_BINDING_TYPE_OPTION, GENERATE_SERVICE_DESCRIPTION_OPTION, GENERATE_TEST_CASE_OPTION, INVALID_OPTION, OUTPUT_LOCATION_OPTION, PACKAGE_OPTION, SERVER_SIDE_CODE_OPTION, SOLE_INPUT, STUB_LANGUAGE_OPTION, WSDL_LOCATION_URI_OPTION |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeGenConfiguration
public CodeGenConfiguration(org.apache.wsdl.WSDLDescription wom,
CommandLineOptionParser parser)
- Parameters:
wom
- parser
-
CodeGenConfiguration
public CodeGenConfiguration(org.apache.wsdl.WSDLDescription wom,
java.util.Map optionMap)
put
public void put(java.lang.Object key,
java.lang.Object value)
get
public java.lang.Object get(java.lang.Object key)
getProperties
public java.util.Map getProperties()
getCodeGenerationStyle
public int getCodeGenerationStyle()
setCodeGenerationStyle
public void setCodeGenerationStyle(int codeGenerationStyle)
getTypeMapper
public TypeMapper getTypeMapper()
setTypeMapper
public void setTypeMapper(TypeMapper typeMapper)
getDatabindingType
public int getDatabindingType()
setDatabindingType
public void setDatabindingType(int databindingType)
setDatabindingType
public void setDatabindingType(java.lang.String databindingType)
getParser
public CommandLineOptionParser getParser()
- Returns:
- Returns the parser.
getWom
public org.apache.wsdl.WSDLDescription getWom()
- Returns:
- Returns the wom.
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()
isWriteTestCase
public boolean isWriteTestCase()
isWriteMessageReceiver
public boolean isWriteMessageReceiver()
setWriteMessageReceiver
public void setWriteMessageReceiver(boolean writeMessageReceiver)