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
Abstract base implementation of
TypeParser
for parsing an atomic value.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] pChars, int pStart, int pLength) voidendElement(String pURI, String pLocalName, String pQName) protected abstract voidvoidvoidstartElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) Methods inherited from class TypeParserImpl
endDocument, endPrefixMapping, getDocumentLocator, getResult, ignorableWhitespace, isEmpty, processingInstruction, setDocumentLocator, setResult, skippedEntity, startPrefixMapping
-
Field Details
-
level
private int level -
sb
-
-
Constructor Details
-
AtomicParser
protected AtomicParser()Creates a new instance.
-
-
Method Details
-
setResult
- Throws:
SAXException
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classTypeParserImpl- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classTypeParserImpl- Throws:
SAXException
-
endElement
- Throws:
SAXException
-
startElement
public void startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) throws SAXException - Throws:
SAXException
-