public class XSLTTransformer
extends org.apache.cocoon.sax.AbstractSAXTransformer
implements org.apache.cocoon.pipeline.component.CachingPipelineComponent
Constructor and Description |
---|
XSLTTransformer(Source source) |
XSLTTransformer(Source source,
Map<String,Object> attributes)
Creates a new transformer reading the XSLT from the Source source and setting the TransformerFactory attributes.
|
Modifier and Type | Method and Description |
---|---|
org.apache.cocoon.pipeline.caching.CacheKey |
constructCacheKey() |
void |
setParameters(Map<String,? extends Object> parameters)
Sets the XSLT parameters to be applied to XSLT stylesheet.
|
protected void |
setSAXConsumer(org.apache.cocoon.sax.SAXConsumer consumer) |
String |
toString() |
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, endSAXRecording, ignorableWhitespace, processingInstruction, removeRecorder, sendEndPrefixMapping, sendStartPrefixMapping, setDocumentLocator, setRecorder, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping, startSAXRecording
finish, setConfiguration, setup
public XSLTTransformer(Source source)
public XSLTTransformer(Source source, Map<String,Object> attributes)
source
- the XSLT sourceattributes
- the Transformer Factory attributespublic void setParameters(Map<String,? extends Object> parameters)
parameters
- the XSLT parameters to be applied to XSLT stylesheetprotected void setSAXConsumer(org.apache.cocoon.sax.SAXConsumer consumer)
setSAXConsumer
in class org.apache.cocoon.sax.AbstractSAXProducer
public org.apache.cocoon.pipeline.caching.CacheKey constructCacheKey()
constructCacheKey
in interface org.apache.cocoon.pipeline.component.CachingPipelineComponent
public String toString()
toString
in class org.apache.cocoon.sax.AbstractSAXProducer
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.