public class TxwTask
extends org.apache.tools.ant.Task
| Constructor | Description |
|---|---|
TxwTask() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute() |
launch txw
|
void |
setDestdir(java.io.File dir) |
parse @destdir
|
void |
setMethodChaining(boolean flg) |
parse @methodChaining
|
void |
setPackage(java.lang.String pkg) |
Parse @package
|
void |
setSchema(java.io.File schema) |
parse @schema
|
void |
setSyntax(java.lang.String style) |
Parse @syntax
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setPackage(java.lang.String pkg)
pkg - name of the package to generate the java classes intopublic void setSyntax(java.lang.String style)
style - either "compact" for RELAX NG compact syntax or "XML"
for RELAX NG xml syntaxpublic void setSchema(java.io.File schema)
schema - the schema file to be processed by txwpublic void setDestdir(java.io.File dir)
dir - the directory to produce generated source code inpublic void setMethodChaining(boolean flg)
flg - true if the txw should generate api's that allow
method chaining (when possible, false otherwisepublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionCopyright © 2018 Oracle Corporation. All rights reserved.