| org.apache.cocoon.components.xslt.XSLTProcessor
All known Subclasses: org.apache.cocoon.components.xslt.XSLTProcessorImpl, org.apache.cocoon.components.xslt.TraxProcessor,
XSLTProcessor | public interface XSLTProcessor extends Component(Code) | | This is the interface of the XSLT processor in Cocoon.
author: Ovidiu Predescu version: CVS $Id: XSLTProcessor.java 433543 2006-08-22 06:22:54Z crossley $ version: 1.0 since: July 11, 2001 |
DEFAULT_FACTORY | String DEFAULT_FACTORY(Code) | | The default factory identifier. (simply used as a pointer, the actual
content is not meaningful)
|
ROLE | String ROLE(Code) | | The role implemented by an XSLTProcessor .
|
setTransformerFactory | void setTransformerFactory(String classname)(Code) | | Set the TransformerFactory for this instance.
The factory is invoked to return a
TransformerHandler to perform the transformation.
Parameters: classname - the name of the class implementingTransformerFactory value. If an error is foundor the indicated class doesn't implement the required interfacethe original factory of the component is maintained. |
transform | void transform(Source source, Source stylesheet, Parameters params, Result result) throws ProcessingException(Code) | | Applies an XSLT stylesheet to an XML document. The source and
stylesheet documents are specified as Source
objects. The result of the transformation is placed in
result , which should be properly initialized before
invoking this method. Any additional parameters passed in
params will become arguments to the stylesheet.
Parameters: source - a Source value Parameters: stylesheet - a Source value Parameters: params - a Parameters value Parameters: result - a Result value exception: ProcessingException - if an error occurs |
|
|