public abstract class AbstractXSLTTransformation extends AbstractTransformation
SdxObject.ConfigurationNode_resolver, PARAMETER_NAME_DISABLE, PARAMETER_NAME_ENABLE, parameters, transParameters_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitializedcontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumerATTRIBUTE_KEEP, ATTRIBUTE_SRC, ATTRIBUTE_TH, CLASS_NAME_SUFFIX, PACKAGE_QUALNAMEDEFAULT_ENCODING| Constructor and Description |
|---|
AbstractXSLTTransformation() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Builds this object
In addition to the parameters needed in the base configuration handled
by the parent class, the "src" parameter is required and can be absolute
or relative to the directory containing the application.xconf file
or relative to the SDX installation.
|
abstract java.lang.String |
getTransformerFactory()
Returns the XSLT processor factory to use (Xalan, Saxon, ...)
|
protected boolean |
initToSax()
Init the DefaultContext class _xmlizable_objects with the objects in order to describ them in XML
|
void |
setConsumer(org.apache.cocoon.xml.XMLConsumer consumer)
Sets the XMLConsumer for this transformation.
|
void |
startDocument() |
getClassNameSuffix, getParameters, initVolatileObjectsToSax, isStepEnabled, recycle, service, setParameters, shouldKeepResult, verifyConfigurationParametersconfigureDescription, contextualize, enableLogging, getBaseAttributes, getConfiguration, getContext, getDescription, getEncoding, getId, getLocale, getLog, getServiceManager, getXmlLang, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, setXmlLang, toSAX, verifyConfigurationResourcescharacters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startElement, startEntity, startPrefixMappingsetContentHandler, setLexicalHandlergetLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMappingcomment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntitygetId, setIdgetDescription, setDescriptiongetEncoding, setEncodinggetLocale, getXmlLang, setLocale, setXmlLangpublic void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableconfigure in class AbstractTransformationconfiguration - An Configuration object from the Pipeline
Sample configuration entry:
<sdx:transformation src = "path to stylesheet, can be absolute or relative to the directory containing this file" sdx:id = "step3" sdx:type = "xslt" keep = "true"/>
org.apache.avalon.framework.configuration.ConfigurationExceptionpublic void setConsumer(org.apache.cocoon.xml.XMLConsumer consumer)
setConsumer in interface org.apache.cocoon.xml.XMLProducersetConsumer in class org.apache.cocoon.xml.AbstractXMLProducerconsumer - The consumer for the SAX events of this transformationpublic void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class org.apache.cocoon.xml.AbstractXMLPipeorg.xml.sax.SAXExceptionprotected boolean initToSax()
AbstractSdxXMLPipeinitToSax in class AbstractTransformationpublic abstract java.lang.String getTransformerFactory()
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.