public interface Pipeline extends org.apache.cocoon.xml.XMLPipe, SdxObject
SdxObject.ConfigurationNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME_SUFFIX
String representation of the pipeline class name suffix.
|
static java.lang.String |
PACKAGE_QUALNAME
String representation of the pipeline package name (including trailing separator ".").
|
DEFAULT_ENCODING
Modifier and Type | Method and Description |
---|---|
void |
addTransformation(Transformation t)
Adds a transformation to the pipeline and sets the consumer of the last
transformation to be the newly added transformation.
|
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
|
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 PACKAGE_QUALNAME
static final java.lang.String CLASS_NAME_SUFFIX
Pipeline newInstance() throws SDXException
SDXException
void setParameters(org.apache.avalon.framework.parameters.Parameters params)
params
- The parameters for steps of the pipelineorg.apache.avalon.framework.parameters.Parameters getParameters()
void addTransformation(Transformation t) throws SDXException
t
- The transformation to be added.SDXException
byte[] getTransformedBytes()
null
will be returnedjava.io.File getTransformedFile() throws SDXException
null
will be returnedSDXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.