|
||||||||
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
org.exolab.castor.tools.XSDCompiler
CastorCodeGenTask
instead.
public final class XSDCompiler
Ant task that enables code generation from an XML _schema from within Ant.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
XSDCompiler()
Deprecated. Creates a new XSDCompiler Task. |
Method Summary | |
---|---|
void |
execute()
Deprecated. Executes the task. |
void |
setDestdir(java.lang.String dirName)
Deprecated. Set the destination directory into which the Java sources should be copied to. |
void |
setForce(boolean force)
Deprecated. Set overwriting existing files. |
void |
setLineseperator(java.lang.String lineSep)
Deprecated. Set the line separator. |
void |
setPackage(java.lang.String pkgName)
Deprecated. Set the target package name. |
void |
setSchema(java.lang.String schema)
Deprecated. Set the schema file name. |
void |
setTypefactory(java.lang.String typeFactory)
Deprecated. Set the type factory. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSDCompiler()
Method Detail |
---|
public void execute()
execute
in class org.apache.tools.ant.Task
public void setSchema(java.lang.String schema)
schema
- The schema to be used for code generation.public void setPackage(java.lang.String pkgName)
pkgName
- The target package name.public void setLineseperator(java.lang.String lineSep)
lineSep
- The line seperator to use for this platform.public void setForce(boolean force)
force
- If true, existing files will be silently overwritten and non-fatal
warnings will be ignoredpublic void setTypefactory(java.lang.String typeFactory)
typeFactory
- Name of the custom type factory class for collections.public void setDestdir(java.lang.String dirName)
dirName
- The name of the destination directory
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |