Adds a collection of resources to style in addition to the
given file or the implicit fileset.
Parameters: rc - the collection of resources to style since: Ant 1.7
Adds a nested filenamemapper.
Parameters: fileNameMapper - the mapper to add exception: BuildException - if more than one mapper is defined since: Ant 1.7.0
Defines the mapper to map source to destination files.
Parameters: mapper - the mapper to use exception: BuildException - if more than one mapper is defined since: Ant 1.6.2
Loads the stylesheet and set xsl:param parameters.
Parameters: stylesheet - the file from which to load the stylesheet. exception: BuildException - if the stylesheet cannot be loaded.
Loads the stylesheet and set xsl:param parameters.
Parameters: stylesheet - the resource from which to load the stylesheet. exception: BuildException - if the stylesheet cannot be loaded. since: Ant 1.7
Create the factory element to configure a trax liaison.
the newly created factory element. throws: BuildException - if the element is created more than one time.
createOutputProperty
public OutputProperty createOutputProperty()(Code)
Create an instance of an output property to be configured.
the newly created output property. since: Ant 1.5
Set the reference to an optional classpath to the XSL processor
Parameters: r - the id of the Ant path instance to act as the classpathfor loading the XSL processor
Set the destination directory into which the XSL result
files should be copied to;
required, unless in and out are
specified.
Parameters: dir - the name of the destination directory
Set the desired file extension to be used for the target;
optional, default is html.
Parameters: name - the extension to use
setFileDirParameter
public void setFileDirParameter(String fileDirParameter)(Code)
Pass the directory name of the current processed file as a xsl parameter
to the transformation. This value sets the name of that xsl parameter.
Parameters: fileDirParameter - name of the xsl parameter retrieving thecurrent file directory
setFileNameParameter
public void setFileNameParameter(String fileNameParameter)(Code)
Pass the filename of the current processed file as a xsl parameter
to the transformation. This value sets the name of that xsl parameter.
Parameters: fileNameParameter - name of the xsl parameter retrieving thecurrent file name
Set the name of the XSL processor to use; optional, default trax.
Other values are "xalan" for Xalan1
Parameters: processor - the name of the XSL processor
Controls whether the stylesheet is reloaded for every transform.
Setting this to true may get around a bug in certain
Xalan-J versions, default is false.
Parameters: b - a boolean value since: Ant 1.5.2
setScanIncludedDirectories
public void setScanIncludedDirectories(boolean b)(Code)
Whether to style all files in the included directories as well;
optional, default is true.
Parameters: b - true if files in included directories are processed. since: Ant 1.5
Name of the stylesheet to use - given either relative
to the project's basedir or as an absolute path; required.
Parameters: xslFile - the stylesheet to use
setUseImplicitFileset
public void setUseImplicitFileset(boolean useimplicitfileset)(Code)
Whether to use the implicit fileset.
Set this to false if you want explicit control with nested
resource collections.
Parameters: useimplicitfileset - set to true if you want to use implicit fileset since: Ant 1.7