Package 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 ofTypeParserfor parsing an atomic value.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringBuffersb
-
Constructor Summary
Constructors Modifier Constructor Description protectedAtomicParser()Creates a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] pChars, int pStart, int pLength)voidendElement(String pURI, String pLocalName, String pQName)protected abstract voidsetResult(String pResult)voidstartDocument()voidstartElement(String pURI, String pLocalName, String pQName, Attributes pAttrs)-
Methods inherited from class org.apache.xmlrpc.parser.TypeParserImpl
endDocument, endPrefixMapping, getDocumentLocator, getResult, ignorableWhitespace, isEmpty, processingInstruction, setDocumentLocator, setResult, skippedEntity, startPrefixMapping
-
-
-
-
Field Detail
-
sb
protected StringBuffer sb
-
-
Method Detail
-
setResult
protected abstract void setResult(String pResult) throws SAXException
- Throws:
SAXException
-
startDocument
public void startDocument() throws SAXException- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classTypeParserImpl- Throws:
SAXException
-
characters
public void characters(char[] pChars, int pStart, int pLength) throws SAXException- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classTypeParserImpl- 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
-
-