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:
- Configurable, ContentHandler, Disposable, LexicalHandler, LogEnabled, Poolable, Recyclable, Serviceable, SitemapModelComponent, Transformer, XMLConsumer, XMLConsumer, XMLPipe, XMLProducer
- public class PortalToolsLayoutTransformer
- extends AbstractSAXTransformer
- implements Disposable
Adds the navigation etc. to the document
- Version:
- $Id: PortalToolsLayoutTransformer.java 321068 2005-10-14 10:36:50Z cziegeler $
Fields inherited from class org.apache.cocoon.transformation.AbstractSAXTransformer |
context, defaultNamespaceURI, EMPTY_ATTRIBUTES, 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
- See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)
setup
public void setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
throws ProcessingException,
SAXException,
IOException
- Description copied from interface:
SitemapModelComponent
- The Sitemap will call the setup() method to prepare the component for
use. This is where you start the process of getting your information
ready to generate your results. See
ObjectModelHelper
for help with the objectModel
.
- Specified by:
setup
in interface SitemapModelComponent
- Overrides:
setup
in class AbstractSAXTransformer
- Throws:
ProcessingException
SAXException
IOException
- See Also:
AbstractSAXTransformer.setup(org.apache.cocoon.environment.SourceResolver, java.util.Map, java.lang.String, org.apache.avalon.framework.parameters.Parameters)
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class AbstractSAXTransformer
- See Also:
Disposable.dispose()
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-2005 The Apache Software Foundation. All Rights Reserved.