|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An SDX transformation in an SDX pipeline.
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.
Field Summary | |
static java.lang.String |
ATTRIBUTE_ID
String representation of the "transformation" attribute name "id" |
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 |
ATTRIBUTE_TYPE
String representation of the "transformation" attribute name "type". |
static java.lang.String |
CLASS_NAME_SUFFIX
String representation of the transformation class name suffix. |
static java.lang.String |
ELEMENT_NAME_TRANSFORMATION
String representation of the element name "transformation". |
static java.lang.String |
PACKAGE_QUALNAME
String representation of the transformation package name (including trailing separator "."). |
Method Summary | |
java.lang.String |
getId()
Returns the Transformations id. |
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. |
void |
setProperties(java.util.Hashtable props)
Sets the properties object for the implementing class. |
boolean |
shouldKeepResult()
Indicates wheter the results of this transfomation should be retained |
Methods inherited from interface org.xml.sax.ContentHandler |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Methods inherited from interface org.xml.sax.ext.LexicalHandler |
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
setConsumer |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
Methods inherited from interface org.apache.avalon.framework.component.Composable |
compose |
Methods inherited from interface org.apache.avalon.framework.configuration.Configurable |
configure |
Field Detail |
public static final java.lang.String ELEMENT_NAME_TRANSFORMATION
public static final java.lang.String ATTRIBUTE_SRC
public static final java.lang.String ATTRIBUTE_KEEP
public static final java.lang.String ATTRIBUTE_TYPE
public static final java.lang.String ATTRIBUTE_ID
public static final java.lang.String ATTRIBUTE_TH
public static final java.lang.String PACKAGE_QUALNAME
public static final java.lang.String CLASS_NAME_SUFFIX
Method Detail |
public void setParameters(org.apache.avalon.framework.parameters.Parameters p)
public org.apache.avalon.framework.parameters.Parameters getParameters()
public void recycle()
public void setProperties(java.util.Hashtable props)
props
- The desired properties objectpublic java.lang.String getId()
public boolean shouldKeepResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |