org.apache.axis2.schema
Class CompilerOptions

java.lang.Object
  extended byorg.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
CompilerOptions()
           
 
Method Summary
 Map getNs2PackageMap()
           
 File getOutputLocation()
           
 String getPackageName()
           
 boolean isWrapClasses()
           
 boolean isWriteOutput()
           
 void setNs2PackageMap(Map ns2PackageMap)
           
 CompilerOptions setOutputLocation(File outputLocation)
           
 CompilerOptions setPackageName(String packageName)
           
 void setWrapClasses(boolean wrapClasses)
           
 void setWriteOutput(boolean writeOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilerOptions

public CompilerOptions()
Method Detail

getNs2PackageMap

public Map getNs2PackageMap()

setNs2PackageMap

public void setNs2PackageMap(Map ns2PackageMap)

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)