public abstract class DefaultFragmentParser<T> extends DefaultHandler implements FragmentParser<T>
| Constructor and Description |
|---|
DefaultFragmentParser(String elementName) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
protected abstract void |
delegateDone() |
void |
endElement(String uri,
String localName,
String qName) |
protected FragmentParser<?> |
getDelegate() |
protected void |
handleCharacters(char[] ch,
int start,
int length) |
protected abstract void |
initialise(Attributes attributes) |
boolean |
isDone() |
protected abstract FragmentParser<?> |
newDelegate(String uri,
String localName,
String qName,
Attributes attributes) |
protected void |
setDelegate(FragmentParser<?> delegate) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildendDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingpublic DefaultFragmentParser(String elementName)
public final void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic final void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionpublic final void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionprotected void handleCharacters(char[] ch,
int start,
int length)
throws SAXException
SAXExceptionprotected FragmentParser<?> getDelegate()
protected void setDelegate(FragmentParser<?> delegate)
protected abstract void initialise(Attributes attributes)
protected abstract FragmentParser<?> newDelegate(String uri, String localName, String qName, Attributes attributes) throws SAXException
SAXExceptionprotected abstract void delegateDone()
public boolean isDone()
isDone in interface FragmentParser<T>Copyright © 2003–2019 Atlassian. All rights reserved.