net.jangaroo.utils
Class CharacterRecordingHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
net.jangaroo.utils.CharacterRecordingHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class CharacterRecordingHandler
- extends DefaultHandler
A ContentHandler that records characters (CDATA). Recording can be started and is stopped when
the characters are retrieved.
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endElement, endPrefixMapping, error, fatalError, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharacterRecordingHandler
public CharacterRecordingHandler()
startRecordingCharacters
protected void startRecordingCharacters()
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
ignorableWhitespace in interface ContentHandler- Overrides:
ignorableWhitespace in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
- Throws:
SAXException
popRecordedCharacters
protected String popRecordedCharacters()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.