org.apache.cocoon.taglib.string
Class TextRecordingTag
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.taglib.TagSupport
org.apache.cocoon.taglib.VarTagSupport
org.apache.cocoon.taglib.VarTransformerTagSupport
org.apache.cocoon.taglib.string.TextRecordingTag
- All Implemented Interfaces:
- Poolable, Recyclable, Component, LogEnabled, Serviceable, Tag, TransformerTag, XMLProducerTag, XMLProducer, XMLConsumer, ContentHandler, LexicalHandler
- Direct Known Subclasses:
- StringTagSupport
public class TextRecordingTag
- extends VarTransformerTagSupport
- Version:
- CVS $Id: TextRecordingTag.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Volker Schmitt
Methods inherited from class org.apache.cocoon.taglib.VarTransformerTagSupport |
comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setConsumer, setDocumentLocator, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextRecordingTag
public TextRecordingTag()
doEndTag
public int doEndTag(String namespaceURI,
String localName,
String qName)
throws SAXException
- Description copied from class:
TagSupport
- Process the end tag for this instance.
- Specified by:
doEndTag
in interface Tag
- Overrides:
doEndTag
in class TagSupport
- Returns:
- EVAL_PAGE.
- Throws:
SAXException
getText
protected final String getText()
- Returns:
- String result of recording
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class VarTransformerTagSupport
- Throws:
SAXException
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class VarTransformerTagSupport
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.