This project has retired. For details please refer to its
Attic page.
WidgetReplacingPipe.InsertStylingContentHandler (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.woody.transformation
Class WidgetReplacingPipe.InsertStylingContentHandler
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.woody.transformation.WidgetReplacingPipe.InsertStylingContentHandler
- All Implemented Interfaces:
- Poolable, Recyclable, LogEnabled, XMLPipe, XMLProducer, XMLConsumer, ContentHandler, LexicalHandler
- Enclosing class:
- WidgetReplacingPipe
public class WidgetReplacingPipe.InsertStylingContentHandler
- extends AbstractXMLPipe
- implements Recyclable
This ContentHandler helps in inserting SAX events before the closing tag of the root
element.
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe |
characters, comment, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WidgetReplacingPipe.InsertStylingContentHandler
public WidgetReplacingPipe.InsertStylingContentHandler()
setSaxFragment
public void setSaxFragment(SaxBuffer saxFragment)
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 AbstractXMLProducer
startElement
public void startElement(String uri,
String loc,
String raw,
Attributes a)
throws SAXException
- Description copied from class:
AbstractXMLPipe
- Receive notification of the beginning of an element.
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class AbstractXMLPipe
- Parameters:
uri
- The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace
processing is not being performed.loc
- The local name (without prefix), or the empty string if
Namespace processing is not being performed.raw
- The raw XML 1.0 name (with prefix), or the empty string if
raw names are not available.a
- The attributes attached to the element. If there are no
attributes, it shall be an empty Attributes object.
- Throws:
SAXException
endElement
public void endElement(String uri,
String loc,
String raw)
throws SAXException
- Description copied from class:
AbstractXMLPipe
- Receive notification of the end of an element.
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class AbstractXMLPipe
- Parameters:
uri
- The Namespace URI, or the empty string if the element has no
Namespace URI or if Namespace
processing is not being performed.loc
- The local name (without prefix), or the empty string if
Namespace processing is not being performed.raw
- The raw XML 1.0 name (with prefix), or the empty string if
raw names are not available.
- Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.