public class TxwTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
TxwTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
launch txw
|
void |
setDestdir(File dir)
parse @destdir
|
void |
setMethodChaining(boolean flg)
parse @methodChaining
|
void |
setPackage(String pkg)
Parse @package
|
void |
setSchema(File schema)
parse @schema
|
void |
setSyntax(String style)
Parse @syntax
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setPackage(String pkg)
pkg
- name of the package to generate the java classes intopublic void setSyntax(String style)
style
- either "compact" for RELAX NG compact syntax or "XML"
for RELAX NG xml syntaxpublic void setSchema(File schema)
schema
- the schema file to be processed by txwpublic void setDestdir(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.Task
org.apache.tools.ant.BuildException
Copyright © 2019 Oracle Corporation. All rights reserved.