org.apache.cocoon.portal.tools.transformation
Class PortalToolsLayoutTransformer
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.transformation.AbstractTransformer
org.apache.cocoon.transformation.AbstractSAXTransformer
org.apache.cocoon.portal.tools.transformation.PortalToolsLayoutTransformer
- All Implemented Interfaces:
- Poolable, Recyclable, Disposable, Component, Configurable, LogEnabled, Serviceable, SitemapModelComponent, Transformer, XMLPipe, XMLProducer, XMLConsumer, ContentHandler, LexicalHandler
public class PortalToolsLayoutTransformer
- extends AbstractSAXTransformer
- implements Disposable
Adds the navigation etc. to the document
- Version:
- $Id: PortalToolsLayoutTransformer.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Fields inherited from class org.apache.cocoon.transformation.AbstractSAXTransformer |
context, defaultNamespaceURI, EMPTY_ATTRIBUTES, emptyAttributes, ignoreEmptyCharacters, ignoreEventsCount, ignoreHooksCount, ignoreWhitespaces, manager, namespaceURI, objectModel, parameters, recorderStack, request, resolver, response, source, stack |
Methods inherited from class org.apache.cocoon.transformation.AbstractSAXTransformer |
addRecorder, characters, comment, configure, endCDATA, endDTD, endElement, endEntity, endParametersRecording, endParametersRecording, endPrefixMapping, endRecording, endSAXRecording, endSerializedXMLRecording, endTextRecording, endTransformingElement, findPrefixMapping, getMutableAttributes, ignorableWhitespace, processingInstruction, recycle, removeRecorder, sendEndElementEvent, sendEndElementEventNS, sendEndPrefixMapping, sendEvents, sendParametersEvents, sendStartElementEvent, sendStartElementEvent, sendStartElementEventNS, sendStartElementEventNS, sendStartPrefixMapping, sendTextEvent, setDocumentLocator, setupTransforming, skippedEntity, startCDATA, startDTD, startElement, startEntity, startParametersRecording, startPrefixMapping, startRecording, startSAXRecording, startSerializedXMLRecording, startTextRecording, startTransformingElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROLE
public static final String ROLE
PortalToolsLayoutTransformer
public PortalToolsLayoutTransformer()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Overrides:
service
in class AbstractSAXTransformer
- Throws:
ServiceException
setup
public void setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
throws ProcessingException,
SAXException,
IOException
- Description copied from interface:
SitemapModelComponent
- Set the
SourceResolver
, objectModel Map
,
the source and sitemap Parameters
used to process the request.
- Specified by:
setup
in interface SitemapModelComponent
- Overrides:
setup
in class AbstractSAXTransformer
- Throws:
ProcessingException
SAXException
IOException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class AbstractSAXTransformer
startDocument
public void startDocument()
throws SAXException
- Description copied from class:
AbstractSAXTransformer
- Process the SAX event. A new document is processed. The hook method
AbstractSAXTransformer.setupTransforming()
is invoked.
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class AbstractSAXTransformer
- Throws:
SAXException
- See Also:
ContentHandler.startDocument()
endDocument
public void endDocument()
throws SAXException
- Description copied from class:
AbstractSAXTransformer
- Process the SAX event. The processing of the document is finished.
- Specified by:
endDocument
in interface ContentHandler
- Overrides:
endDocument
in class AbstractSAXTransformer
- Throws:
SAXException
- See Also:
ContentHandler.endDocument()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.