|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--net.cafebabe.sat.util.FileTask | +--net.cafebabe.sat.xml.XTask
XTask is an XSLT task using XT from James Clark.
Field Summary |
Fields inherited from class net.cafebabe.sat.util.FileTask |
|
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 | |
XTask()
|
Method Summary | |
void |
addArg(Arg arg)
Add an argument for the processor. |
void |
error(org.xml.sax.SAXParseException e)
Manage errors. |
void |
execute()
Executes the task. |
void |
fatalError(org.xml.sax.SAXParseException e)
Manage fatal errors. |
void |
setExtension(java.lang.String extension)
Extension setter. |
void |
setForce(boolean force)
Setter for the force flag. |
void |
setStyle(java.lang.String style)
Setter for the stylesheet to use for processing. |
void |
setTodir(java.lang.String todir)
Setter for the output directory for processed files. |
void |
setTofile(java.lang.String tofile)
Setter for the destination file. |
void |
warning(org.xml.sax.SAXParseException e)
Manage warnings. |
Methods inherited from class net.cafebabe.sat.util.FileTask |
addFileset, getFiles, getNewFiles, newerFilesThan, setDir, setFile |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 XTask()
Method Detail |
public void setStyle(java.lang.String style)
style
- The stylesheet to use.public void setTodir(java.lang.String todir)
todir
- The directory for processed files.public void setTofile(java.lang.String tofile)
tofile
- The processed files.public void setExtension(java.lang.String extension)
extension
- The extension to append to the generated file.public void addArg(Arg arg)
arg
- The argument to pass to the processor.public void setForce(boolean force)
force
- The force tag. If true
, the file is generated
even if the xml or xsl are older.public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void warning(org.xml.sax.SAXParseException e)
warning
in interface org.xml.sax.ErrorHandler
e
- The parsing as a SAXParseException
org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException e)
error
in interface org.xml.sax.ErrorHandler
e
- The parsing as a SAXParseException
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException e) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
e
- The parsing as a SAXParseException
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |