public class XsltPlusTask extends XSLTProcess
XSLTProcess.Factory, XSLTProcess.OutputProperty, XSLTProcess.Param, XSLTProcess.TraceConfiguration
PROCESSOR_TRAX
fileset
description, location, project
Constructor and Description |
---|
XsltPlusTask() |
Modifier and Type | Method and Description |
---|---|
void |
addMapper(Mapper mapper)
Sets the mapper.
|
void |
execute()
Called by the project to let the task do its work.
|
void |
setDestdir(File destDir)
Sets the destination directory.
|
void |
setIncludes(String includes)
Sets the files to include in the transformation.
|
void |
setNeverOverwrite(boolean neverOverwrite)
Sets to never overwrite the destination.
|
add, add, addConfiguredStyle, addConfiguredXMLCatalog, addSysproperty, addSyspropertyset, configureLiaison, configureLiaison, createClasspath, createFactory, createOutputProperty, createParam, createTrace, getFactory, getLiaison, getOutputProperties, getSuppressWarnings, getTraceConfiguration, getXMLCatalog, handleError, handleError, handleTransformationError, init, setBasedir, setClasspath, setClasspathRef, setExtension, setFailOnError, setFailOnNoResources, setFailOnTransformationError, setFileDirParameter, setFileNameParameter, setForce, setIn, setOut, setProcessor, setReloadStylesheet, setScanIncludedDirectories, setStyle, setSuppressWarnings, setUseImplicitFileset, setXslResource
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludesfile, setProject, XsetIgnore, XsetItems
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
log
public void setNeverOverwrite(boolean neverOverwrite)
neverOverwrite
- true
if the destination should never be overwritten,
false
otherwise.public void setIncludes(String includes)
setIncludes
in class MatchingTask
includes
- The files to tranform.public void addMapper(Mapper mapper)
addMapper
in class XSLTProcess
mapper
- The mapper.public void setDestdir(File destDir)
setDestdir
in class XSLTProcess
destDir
- The destination directory.public void execute() throws BuildException
execute
in class XSLTProcess
BuildException
- if something goes wrong with the build.See http://www.xins.org/.