This project has retired. For details please refer to its
Attic page.
FolderTransformer (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.portal.coplets.basket
Class FolderTransformer
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.coplets.basket.AbstractBasketTransformer
org.apache.cocoon.portal.coplets.basket.FolderTransformer
- All Implemented Interfaces:
- Poolable, Recyclable, Disposable, Component, Configurable, LogEnabled, Serviceable, SitemapModelComponent, Transformer, XMLPipe, XMLProducer, XMLConsumer, ContentHandler, LexicalHandler
public class FolderTransformer
- extends AbstractBasketTransformer
This transformer supports the basket feature. It can generate links to
add content and to upload files into the basket.
- Version:
- $Id: FolderTransformer.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 |
Fields inherited from interface org.apache.cocoon.transformation.Transformer |
ROLE |
Methods inherited from class org.apache.cocoon.transformation.AbstractSAXTransformer |
addRecorder, characters, comment, configure, endCDATA, endDocument, endDTD, endElement, endEntity, endParametersRecording, endParametersRecording, endPrefixMapping, endRecording, endSAXRecording, endSerializedXMLRecording, endTextRecording, findPrefixMapping, getMutableAttributes, ignorableWhitespace, processingInstruction, removeRecorder, sendEndElementEvent, sendEndElementEventNS, sendEndPrefixMapping, sendEvents, sendParametersEvents, sendStartElementEvent, sendStartElementEvent, sendStartElementEventNS, sendStartElementEventNS, sendStartPrefixMapping, sendTextEvent, setDocumentLocator, setup, setupTransforming, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startParametersRecording, startPrefixMapping, startRecording, startSAXRecording, startSerializedXMLRecording, startTextRecording |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPLOAD_ITEM_ELEMENT
protected static final String UPLOAD_ITEM_ELEMENT
- Element to upload an item
- See Also:
- Constant Field Values
UPLOAD_FORM_ELEMENT
protected static final String UPLOAD_FORM_ELEMENT
- Element for the upload form
- See Also:
- Constant Field Values
uploadElements
protected List uploadElements
- Upload element list
FolderTransformer
public FolderTransformer()
recycle
public void recycle()
- Description copied from class:
AbstractXMLProducer
- Recycle the producer by removing references, and resetting handlers to
null (empty) implementations.
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class AbstractSAXTransformer
endTransformingElement
public void endTransformingElement(String uri,
String name,
String raw)
throws ProcessingException,
IOException,
SAXException
- Description copied from class:
AbstractSAXTransformer
- Start processing elements of our namespace.
This hook is invoked for each sax event with our namespace.
- Overrides:
endTransformingElement
in class AbstractSAXTransformer
- Parameters:
uri
- The namespace of the element.name
- The local name of the element.raw
- The qualified name of the element.
- Throws:
ProcessingException
IOException
SAXException
startTransformingElement
public void startTransformingElement(String uri,
String name,
String raw,
Attributes attr)
throws ProcessingException,
IOException,
SAXException
- Description copied from class:
AbstractSAXTransformer
- Start processing elements of our namespace.
This hook is invoked for each sax event with our namespace.
- Overrides:
startTransformingElement
in class AbstractSAXTransformer
- Parameters:
uri
- The namespace of the element.name
- The local name of the element.raw
- The qualified name of the element.attr
- The attributes of the element.
- Throws:
ProcessingException
IOException
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.