|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary | |
static java.lang.String |
ATTRIBUTE_ID
String representation of the "pipeline" attribute name "id" in our xconf config files. |
static java.lang.String |
ATTRIBUTE_TYPE
String representation of the "pipeline" attribute name "type" in our xconf config files. |
static java.lang.String |
CLASS_NAME_SUFFIX
String representation of the pipeline class name suffix. |
static java.lang.String |
ELEMENT_NAME
String representation of the element name "pipeline". |
static java.lang.String |
ELEMENT_NAME_PIPELINES
String representation of the element name "pipelines". |
static java.lang.String |
PACKAGE_QUALNAME
String representation of the pipeline package name (including trailing separator "."). |
| Method Summary | |
void |
addTransformation(Transformation t)
Adds a transformation to the pipeline and sets the consumer of the last transformation to be the newly added transformation. |
java.lang.String |
getId()
Returns the id for the pipeline |
org.apache.avalon.framework.parameters.Parameters |
getParameters()
The parameters for this pipeline. |
byte[] |
getTransformedBytes()
Returns a byte array which contains the data of a transformation step. |
java.io.File |
getTransformedFile()
Returns a file which contains the data of a transformation step. |
Pipeline |
newInstance()
Generates a new instance of a Pipeline object |
void |
setParameters(org.apache.avalon.framework.parameters.Parameters params)
Set's the default pipeline parameters |
void |
setProperties(java.util.Hashtable props)
Sets Properties. |
| 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.configuration.Configurable |
configure |
| Methods inherited from interface org.apache.avalon.framework.component.Composable |
compose |
| Field Detail |
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME_PIPELINES
public static final java.lang.String ATTRIBUTE_ID
public static final java.lang.String ATTRIBUTE_TYPE
public static final java.lang.String PACKAGE_QUALNAME
public static final java.lang.String CLASS_NAME_SUFFIX
| Method Detail |
public Pipeline newInstance()
throws SDXException
SDXExceptionpublic void setParameters(org.apache.avalon.framework.parameters.Parameters params)
params - The parameters for steps of the pipelinepublic java.lang.String getId()
public org.apache.avalon.framework.parameters.Parameters getParameters()
public void setProperties(java.util.Hashtable props)
props - A Properties object for configuration etc.
public void addTransformation(Transformation t)
throws SDXException
t - The transformation to be added.
SDXExceptionpublic byte[] getTransformedBytes()
null will be returned
public java.io.File getTransformedFile()
throws SDXException
null will be returned
SDXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||