org.apache.tools.ant.taskdefs.optional
public class TraXLiaison extends Object implements XSLTLiaison2, ErrorListener, XSLTLoggerAware
Since: Ant 1.3
| Constructor Summary | |
|---|---|
| TraXLiaison() | |
| Method Summary | |
|---|---|
| void | addParam(String name, String value) |
| void | configure(XSLTProcess xsltTask)
Specific configuration for the TRaX liaison. |
| void | error(TransformerException e) |
| void | fatalError(TransformerException e) |
| protected String | getSystemId(File file) |
| void | setAttribute(String name, Object value)
Set a custom attribute for the JAXP factory implementation. |
| void | setEntityResolver(EntityResolver aResolver) Set the class to resolve entities during the transformation |
| void | setFactory(String name)
Set the factory name to use instead of JAXP default lookup. |
| void | setLogger(XSLTLogger l) |
| void | setOutputProperty(String name, String value)
Set the output property for the current transformer.
|
| void | setStylesheet(File stylesheet) |
| void | setURIResolver(URIResolver aResolver) Set the class to resolve URIs during the transformation |
| void | transform(File infile, File outfile) |
| void | warning(TransformerException e) |
Parameters: xsltTask the XSLTProcess task instance from which this liasion is to be configured.
Deprecated: use org.apache.tools.ant.util.JAXPUtils#getSystemId instead
Parameters: name the attribute name. value the value of the attribute, usually a boolean string or object.
Since: Ant 1.6
Parameters: name the fully qualified class name of the factory to use or null for the default JAXP look up mechanism.
Since: Ant 1.6
Parameters: name the output property name. value the output property value.
Since: Ant 1.5 Ant 1.5