public abstract class AtomicParser extends TypeParserImpl
TypeParser
for parsing an atomic value.Modifier and Type | Field and Description |
---|---|
protected StringBuffer |
sb |
Modifier | Constructor and Description |
---|---|
protected |
AtomicParser()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] pChars,
int pStart,
int pLength) |
void |
endElement(String pURI,
String pLocalName,
String pQName) |
protected abstract void |
setResult(String pResult) |
void |
startDocument() |
void |
startElement(String pURI,
String pLocalName,
String pQName,
Attributes pAttrs) |
endDocument, endPrefixMapping, getDocumentLocator, getResult, ignorableWhitespace, isEmpty, processingInstruction, setDocumentLocator, setResult, skippedEntity, startPrefixMapping
protected StringBuffer sb
protected abstract void setResult(String pResult) throws SAXException
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class TypeParserImpl
SAXException
public void characters(char[] pChars, int pStart, int pLength) throws SAXException
characters
in interface ContentHandler
characters
in class TypeParserImpl
SAXException
public void endElement(String pURI, String pLocalName, String pQName) throws SAXException
SAXException
public void startElement(String pURI, String pLocalName, String pQName, Attributes pAttrs) throws SAXException
SAXException
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.