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 String
getMapperClassPackage()
Map<String,String>
getNs2PackageMap()
File
getOutputLocation()
String
getPackageName()
boolean
isBackwordCompatibilityMode()
boolean
isGenerateAll()
boolean
isHelperMode()
boolean
isIgnoreUnexpected()
boolean
isMapperClassPackagePresent()
get whether the mapper class package name is presentboolean
isOffStrictValidation()
boolean
isSuppressPrefixesMode()
boolean
isUseWrapperClasses()
boolean
isWrapClasses()
boolean
isWriteOutput()
void
setBackwordCompatibilityMode(boolean backwordCompatibilityMode)
void
setGenerateAll(boolean generateAll)
void
setHelperMode(boolean helperMode)
void
setIgnoreUnexpected(boolean isIgnoreUnexpected)
void
setMapperClassPackage(String mapperClassPackage)
void
setNs2PackageMap(Map<String,String> ns2PackageMap)
void
setOffStrictValidation(boolean offStrictValidation)
CompilerOptions
setOutputLocation(File outputLocation)
CompilerOptions
setPackageName(String packageName)
void
setSuppressPrefixesMode(boolean suppressPrefixesMode)
void
setUseWrapperClasses(boolean useWrapperClasses)
void
setWrapClasses(boolean wrapClasses)
void
setWriteOutput(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)
-
-