com.sun.tools.xjc
public class XJC2Task extends Task
Field Summary | |
---|---|
Options | options |
Constructor Summary | |
---|---|
XJC2Task() |
Method Summary | |
---|---|
void | addConfiguredBinding(FileSet fs) Nested <binding> element. |
void | addConfiguredDepends(FileSet fs) Nested <depends> element. |
void | addConfiguredProduces(FileSet fs) Nested <produces> element. |
void | addConfiguredSchema(FileSet fs) Nested <schema> element. |
void | addConfiguredXMLCatalog(XMLCatalog xmlCatalog)
Add the catalog to our internal catalog
|
Argument | createArg() |
Path | createClasspath() Nested <classpath> element. |
void | execute() Runs XJC. |
void | setBinding(String binding)
External binding file. |
void | setCatalog(File catalog)
Adds a new catalog file. |
void | setClasspath(Path cp) Nested <classpath> element. |
void | setClasspathRef(Reference r) |
void | setDestdir(File dir)
Sets the directory to produce generated source files. |
void | setExtension(boolean flg)
Controls whether the compiler will run in the strict
conformance mode (flg=false) or the extension mode (flg=true) |
void | setFailonerror(boolean value)
Mostly for our SQE teams and not to be advertized. |
void | setHeader(boolean flg)
Controls whether the file header comment is generated or not. |
void | setLanguage(String language)
Sets the schema language. |
void | setPackage(String pkg)
Sets the package name of the generated code. |
void | setReadonly(boolean flg)
Controls whether files should be generated in read-only mode or not |
void | setRemoveOldOutput(boolean roo) "removeOldOutput" attribute. |
void | setSchema(String schema)
Parses the schema attribute. |
void | setStackSize(String ss)
Sets the stack size of the XJC invocation.
|
void | setTarget(String version)
Sets the target version of the compilation |
void | setXexplicitAnnotation(boolean flg) |
Parameters: xmlCatalog the XMLCatalog instance to use to look up DTDs
Parameters: schema A file name (can be relative to base dir), or an URL (must be absolute).
Deprecated: not much need for JAXB2, as we now use much less stack.
Sets the stack size of the XJC invocation.See Also: runtime14