org.apache.cxf.jaxrs.ext.codegen
Class SourceGenerator
java.lang.Object
org.apache.cxf.jaxrs.ext.codegen.SourceGenerator
public class SourceGenerator
- extends Object
TODO: This will need to be moved into a separate module
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CODE_TYPE_GRAMMAR
public static final String CODE_TYPE_GRAMMAR
- See Also:
- Constant Field Values
CODE_TYPE_PROXY
public static final String CODE_TYPE_PROXY
- See Also:
- Constant Field Values
CODE_TYPE_WEB
public static final String CODE_TYPE_WEB
- See Also:
- Constant Field Values
LINE_SEP_PROPERTY
public static final String LINE_SEP_PROPERTY
- See Also:
- Constant Field Values
FILE_SEP_PROPERTY
public static final String FILE_SEP_PROPERTY
- See Also:
- Constant Field Values
SourceGenerator
public SourceGenerator()
SourceGenerator
public SourceGenerator(Map<String,String> properties)
setSupportMultipleXmlReps
public void setSupportMultipleXmlReps(boolean support)
setWadlNamespace
public void setWadlNamespace(String ns)
getWadlNamespace
public String getWadlNamespace()
setGenerateEnums
public void setGenerateEnums(boolean generate)
generateSource
public void generateSource(String wadl,
File srcDir,
String codeType)
generateMainClass
public void generateMainClass(Element resourcesEl,
File src)
setImportsComparator
public void setImportsComparator(Comparator<String> importsComparator)
setGenerateInterfaces
public void setGenerateInterfaces(boolean generateInterfaces)
setGenerateImplementation
public void setGenerateImplementation(boolean generate)
setPackageName
public void setPackageName(String name)
setResourceName
public void setResourceName(String name)
setWadlPath
public void setWadlPath(String name)
setBindingFiles
public void setBindingFiles(List<InputSource> files)
setSchemaPackageFiles
public void setSchemaPackageFiles(List<InputSource> files)
setCompilerArgs
public void setCompilerArgs(List<String> args)
setSchemaPackageMap
public void setSchemaPackageMap(Map<String,String> map)
setSchemaTypesMap
public void setSchemaTypesMap(Map<String,String> map)
setBus
public void setBus(Bus bus)
getGeneratedServiceClasses
public List<String> getGeneratedServiceClasses()
getGeneratedTypeClasses
public List<String> getGeneratedTypeClasses()
Apache CXF