|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.sun.tools.xjc.XJC2Task
public class XJC2Task
XJC task for Ant. See the accompanied document for the usage.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
XJC2Task()
|
Method Summary | |
---|---|
void |
addConfiguredBinding(org.apache.tools.ant.types.FileSet fs)
Nested <binding> element. |
void |
addConfiguredDepends(org.apache.tools.ant.types.FileSet fs)
Nested <depends> element. |
void |
addConfiguredProduces(org.apache.tools.ant.types.FileSet fs)
Nested <produces> element. |
void |
addConfiguredSchema(org.apache.tools.ant.types.FileSet fs)
Nested <schema> element. |
void |
addConfiguredXMLCatalog(org.apache.tools.ant.types.XMLCatalog xmlCatalog)
Add the catalog to our internal catalog |
org.apache.tools.ant.types.Commandline.Argument |
createArg()
|
org.apache.tools.ant.types.Path |
createClasspath()
Nested <classpath> element. |
void |
execute()
Runs XJC. |
void |
setBinding(java.lang.String binding)
External binding file. |
void |
setCatalog(java.io.File catalog)
Adds a new catalog file. |
void |
setClasspath(org.apache.tools.ant.types.Path cp)
Nested <classpath> element. |
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
|
void |
setDestdir(java.io.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 |
setPackage(java.lang.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(java.lang.String schema)
Parses the schema attribute. |
void |
setStackSize(java.lang.String ss)
Deprecated. not much need for JAXB2, as we now use much less stack. |
void |
setTarget(java.io.File dir)
Deprecated. Use setDestdir(File) |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XJC2Task()
Method Detail |
---|
public void setSchema(java.lang.String schema)
public void addConfiguredSchema(org.apache.tools.ant.types.FileSet fs)
public void setClasspath(org.apache.tools.ant.types.Path cp)
public org.apache.tools.ant.types.Path createClasspath()
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public void setBinding(java.lang.String binding)
public void addConfiguredBinding(org.apache.tools.ant.types.FileSet fs)
public void setPackage(java.lang.String pkg)
public void setCatalog(java.io.File catalog)
public void setFailonerror(boolean value)
public void setStackSize(java.lang.String ss)
public void addConfiguredXMLCatalog(org.apache.tools.ant.types.XMLCatalog xmlCatalog)
xmlCatalog
- the XMLCatalog instance to use to look up DTDspublic void setReadonly(boolean flg)
public void setExtension(boolean flg)
public void setTarget(java.io.File dir)
setDestdir(File)
public void setDestdir(java.io.File dir)
public void addConfiguredDepends(org.apache.tools.ant.types.FileSet fs)
public void addConfiguredProduces(org.apache.tools.ant.types.FileSet fs)
public void setRemoveOldOutput(boolean roo)
public org.apache.tools.ant.types.Commandline.Argument createArg()
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |