org.apache.cxf.tools.wadlto.jaxrs
Class SourceGenerator
java.lang.Object
org.apache.cxf.tools.wadlto.jaxrs.SourceGenerator
public class SourceGenerator
- extends Object
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)
setSkipSchemaGeneration
public void setSkipSchemaGeneration(boolean skip)
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)
setInheritResourceParams
public void setInheritResourceParams(boolean inherit)
setSchemaPackageMap
public void setSchemaPackageMap(Map<String,String> map)
setJavaTypeMap
public void setJavaTypeMap(Map<String,String> map)
setSchemaTypeMap
public void setSchemaTypeMap(Map<String,String> map)
setMediaTypeMap
public void setMediaTypeMap(Map<String,String> map)
setBus
public void setBus(Bus bus)
getGeneratedServiceClasses
public List<String> getGeneratedServiceClasses()
getGeneratedTypeClasses
public List<String> getGeneratedTypeClasses()
Apache CXF