public interface Transformation extends org.apache.cocoon.xml.XMLPipe, SdxObject
A transformation is a generic operation that receives and throws SAX events. It can be a SAX filter, an XSLT transformation, or other complex mechanism.
The only difference with a Cocoon XMLPipe is that it can be parameterized, which can be useful for XSLT transformations.
SdxObject.ConfigurationNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE_KEEP
String representation of the "transformation" attribute name "keep".
|
static java.lang.String |
ATTRIBUTE_SRC
String representation of the "transformation" attribute name "src".
|
static java.lang.String |
ATTRIBUTE_TH
String representation of the "transformation" attribute name "th".
|
static java.lang.String |
CLASS_NAME_SUFFIX
String representation of the transformation class name suffix.
|
static java.lang.String |
PACKAGE_QUALNAME
String representation of the transformation package name (including trailing separator ".").
|
DEFAULT_ENCODING
Modifier and Type | Method and Description |
---|---|
org.apache.avalon.framework.parameters.Parameters |
getParameters()
The parameters for this transformation.
|
void |
recycle()
Recycles the contentHandler, lexicalHandler, and xmlConsumer for the transformation
|
void |
setParameters(org.apache.avalon.framework.parameters.Parameters p)
Sets some parameters for this transformation.
|
boolean |
shouldKeepResult()
Indicates wheter the results of this transfomation should be retained
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
getId, setId
getDescription, setDescription
getEncoding, setEncoding
getLocale, getXmlLang, setLocale, setXmlLang
static final java.lang.String ATTRIBUTE_SRC
static final java.lang.String ATTRIBUTE_KEEP
static final java.lang.String ATTRIBUTE_TH
static final java.lang.String PACKAGE_QUALNAME
static final java.lang.String CLASS_NAME_SUFFIX
void setParameters(org.apache.avalon.framework.parameters.Parameters p)
org.apache.avalon.framework.parameters.Parameters getParameters()
void recycle()
boolean shouldKeepResult()
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.