Package org.apache.axis2.schema
Class CompilerOptions
- java.lang.Object
-
- org.apache.axis2.schema.CompilerOptions
-
public class CompilerOptions extends Object
This is a bean class that captures all the compiler options. Right now the compiler options consist of the following 1. output file location - A folder with necessary rights for the schema compiler to write the files 2.package name 3.namespace to package map 4.boolean flag marking whether to wrap or unwrap 4.boolean flag marking whether to write classes or not
-
-
Constructor Summary
Constructors Constructor Description CompilerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMapperClassPackage()Map<String,String>getNs2PackageMap()FilegetOutputLocation()StringgetPackageName()booleanisBackwordCompatibilityMode()booleanisGenerateAll()booleanisHelperMode()booleanisIgnoreUnexpected()booleanisMapperClassPackagePresent()get whether the mapper class package name is presentbooleanisOffStrictValidation()booleanisSuppressPrefixesMode()booleanisUseWrapperClasses()booleanisWrapClasses()booleanisWriteOutput()voidsetBackwordCompatibilityMode(boolean backwordCompatibilityMode)voidsetGenerateAll(boolean generateAll)voidsetHelperMode(boolean helperMode)voidsetIgnoreUnexpected(boolean isIgnoreUnexpected)voidsetMapperClassPackage(String mapperClassPackage)voidsetNs2PackageMap(Map<String,String> ns2PackageMap)voidsetOffStrictValidation(boolean offStrictValidation)CompilerOptionssetOutputLocation(File outputLocation)CompilerOptionssetPackageName(String packageName)voidsetSuppressPrefixesMode(boolean suppressPrefixesMode)voidsetUseWrapperClasses(boolean useWrapperClasses)voidsetWrapClasses(boolean wrapClasses)voidsetWriteOutput(boolean writeOutput)
-
-
-
Method Detail
-
getMapperClassPackage
public String getMapperClassPackage()
-
setMapperClassPackage
public void setMapperClassPackage(String mapperClassPackage)
-
isMapperClassPackagePresent
public boolean isMapperClassPackagePresent()
get whether the mapper class package name is present
-
isHelperMode
public boolean isHelperMode()
-
setHelperMode
public void setHelperMode(boolean helperMode)
-
isWriteOutput
public boolean isWriteOutput()
-
setWriteOutput
public void setWriteOutput(boolean writeOutput)
-
isWrapClasses
public boolean isWrapClasses()
-
setWrapClasses
public void setWrapClasses(boolean wrapClasses)
-
getPackageName
public String getPackageName()
-
setPackageName
public CompilerOptions setPackageName(String packageName)
-
getOutputLocation
public File getOutputLocation()
-
setOutputLocation
public CompilerOptions setOutputLocation(File outputLocation)
-
isGenerateAll
public boolean isGenerateAll()
-
setGenerateAll
public void setGenerateAll(boolean generateAll)
-
isBackwordCompatibilityMode
public boolean isBackwordCompatibilityMode()
-
setBackwordCompatibilityMode
public void setBackwordCompatibilityMode(boolean backwordCompatibilityMode)
-
isSuppressPrefixesMode
public boolean isSuppressPrefixesMode()
-
setSuppressPrefixesMode
public void setSuppressPrefixesMode(boolean suppressPrefixesMode)
-
isOffStrictValidation
public boolean isOffStrictValidation()
-
setOffStrictValidation
public void setOffStrictValidation(boolean offStrictValidation)
-
isUseWrapperClasses
public boolean isUseWrapperClasses()
-
setUseWrapperClasses
public void setUseWrapperClasses(boolean useWrapperClasses)
-
isIgnoreUnexpected
public boolean isIgnoreUnexpected()
-
setIgnoreUnexpected
public void setIgnoreUnexpected(boolean isIgnoreUnexpected)
-
-