org.apache.xmlrpc.parser
Class AtomicParser
java.lang.Object
org.apache.xmlrpc.parser.TypeParserImpl
org.apache.xmlrpc.parser.AtomicParser
- All Implemented Interfaces:
- TypeParser, ContentHandler
- Direct Known Subclasses:
- BigDecimalParser, BigIntegerParser, BooleanParser, CalendarParser, DateParser, DoubleParser, FloatParser, I1Parser, I2Parser, I4Parser, I8Parser, LongParser, NullParser, StringParser
public abstract class AtomicParser
- extends TypeParserImpl
Abstract base implementation of TypeParser
for parsing an atomic value.
Constructor Summary |
protected |
AtomicParser()
Creates a new instance. |
Methods inherited from class org.apache.xmlrpc.parser.TypeParserImpl |
endDocument, endPrefixMapping, getDocumentLocator, getResult, ignorableWhitespace, isEmpty, processingInstruction, setDocumentLocator, setResult, skippedEntity, startPrefixMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sb
protected StringBuffer sb
AtomicParser
protected AtomicParser()
- Creates a new instance.
setResult
protected abstract void setResult(String pResult)
throws SAXException
- Throws:
SAXException
startDocument
public void startDocument()
throws SAXException
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class TypeParserImpl
- Throws:
SAXException
characters
public void characters(char[] pChars,
int pStart,
int pLength)
throws SAXException
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class TypeParserImpl
- Throws:
SAXException
endElement
public void endElement(String pURI,
String pLocalName,
String pQName)
throws SAXException
- Throws:
SAXException
startElement
public void startElement(String pURI,
String pLocalName,
String pQName,
Attributes pAttrs)
throws SAXException
- Throws:
SAXException
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.