|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.fop.tools.anttasks.Xslt
Task to call the XSLT processor Xalan (part of xml.apache.org), which converts xml files from a source to an output using a stylesheet file
This task can take the following arguments:
Of these arguments, infile, outfile and xsltfile are required.
smart defaults to 'no'. The other allowed value is 'yes'. If smart is set to 'yes'
xalan is only called if either the outfile is older than the infile or the stylesheet or the outfile doesn't exist.
dependent defaults to 'none'. Other possible values: a comma delimited list of file names which date is checked against the output file. This way you can name files which, if they have been modified, initiate a restart of the xslt process, like external entities etc.
The mergefile parameter causes this task to merge the contents of the specified file into the infile at the end. This is used for the font character mapping generation because the keys() xslt function doesn't work on an external document.
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 | |
Xslt()
|
Method Summary | |
void |
execute()
Main method, which is called by ant. |
void |
setDependent(java.lang.String dependent)
Sets the value for dependent |
void |
setInfile(java.lang.String infile)
Sets the input file |
void |
setMergefile(java.lang.String mergefile)
|
void |
setOutfile(java.lang.String outfile)
Sets the output file |
void |
setSmart(java.lang.String smart)
Sets the value for smart |
void |
setXsltfile(java.lang.String xsltfile)
Sets the stylesheet file |
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 Xslt()
Method Detail |
public void setInfile(java.lang.String infile)
public void setMergefile(java.lang.String mergefile)
public void setXsltfile(java.lang.String xsltfile)
public void setOutfile(java.lang.String outfile)
public void setSmart(java.lang.String smart)
option
- valid values:
public void setDependent(java.lang.String dependent)
option
- valid values:
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |