| |
|
| de.schlund.pfixcore.util.XsltGenericTask
All known Subclasses: de.schlund.pfixcore.util.XsltCustomizeXmlTask, de.schlund.pfixcore.util.XsltIWrapperTask, de.schlund.pfixcore.util.XsltWebXmlTask,
XsltGenericTask | public class XsltGenericTask extends MatchingTask (Code) | | author: adam author: To change the template for this generated type comment go to author: Window - Preferences - Java - Code Generation - Code and Comments |
VAL_VALIDATE_DYNAMIC | public static String VAL_VALIDATE_DYNAMIC(Code) | | |
VAL_VALIDATE_TRUE | public static String VAL_VALIDATE_TRUE(Code) | | |
catalogfile | protected String catalogfile(Code) | | Catalog file compliant to http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd - optional
|
destdir | protected File destdir(Code) | | destination directory
|
inLastModified | protected long inLastModified(Code) | | |
infile | protected File infile(Code) | | single inputfile
|
outLastModified | protected long outLastModified(Code) | | |
outfile | protected File outfile(Code) | | single outputfile
|
scanner | protected DirectoryScanner scanner(Code) | | |
srcdir | protected File srcdir(Code) | | where to find the source XML file, default is the project's basedir
|
style | protected String style(Code) | | XSL stylesheet relative to project's basedir
|
styleLastModified | protected long styleLastModified(Code) | | |
targetExtension | protected String targetExtension(Code) | | extension of the files produced by XSL processing
|
validate | protected String validate(Code) | | XML Schema Validation. Default: false.
|
addConfiguredParam | public void addConfiguredParam(XsltParam param)(Code) | | adds a configured instance of an XSLT parameter
Parameters: param - a configured instance of the XsltParam |
doTransformation | protected void doTransformation() throws BuildException(Code) | | |
doTransformationMaybe | protected int doTransformationMaybe()(Code) | | must be initialized:
XsltGenericTask.in ,
XsltGenericTask.out ,
number of files transformed,either 1 if file has been transformed or 0 if it was up to date |
equals | protected static boolean equals(Object object1, Object object2)(Code) | | Test for equality of
object1 and
object2 .
object1, may be null object2. may be null true if object1 and object2 are equal |
execute | public void execute() throws BuildException(Code) | | |
executeCleanup | protected void executeCleanup()(Code) | | |
executeSetup | protected void executeSetup()(Code) | | |
getExtension | public String getExtension()(Code) | | the target extension or "" if none set |
invalidateTransformer | protected void invalidateTransformer()(Code) | | |
invalidateXmlCatalog | protected void invalidateXmlCatalog()(Code) | | |
isTransformerInstantiated | protected boolean isTransformerInstantiated()(Code) | | Used to check if cleanup is necessary.
|
isValidate | public boolean isValidate()(Code) | | |
isValidateDynamic | public boolean isValidateDynamic()(Code) | | |
setCatalogfile | public void setCatalogfile(String catalogfile)(Code) | | |
setDestdir | public void setDestdir(File destdir)(Code) | | Set the destination directory into which the XSL result
files should be copied to;
optional, defaults to srcdir if not specified
Parameters: destdir - the name of the destination directory |
setExtension | public void setExtension(String name)(Code) | | Set the desired file extension to be used for the target;
optional, default is "".
Parameters: name - the extension to use |
setOutfile | public void setOutfile(File outfile)(Code) | | |
setSrcdir | public void setSrcdir(File srcdir)(Code) | | Set the Source directory;
required.
Parameters: srcdir - the base directory |
setStyle | public void setStyle(String style)(Code) | | Name of the stylesheet to use - given either relative
to the project's basedir or as an absolute path; required.
Parameters: style - the stylesheet to use |
|
|
|