|
TXW2 Compiler 20110809-redhat-2 | |||||||||
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.txw2.TxwTask
public class TxwTask
Ant task interface for txw compiler.
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 | |
---|---|
TxwTask()
|
Method Summary | |
---|---|
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 |
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 TxwTask()
Method Detail |
---|
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
|
TXW2 Compiler 20110809-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |