public abstract class Consumer extends Object implements DocumentHandler
Constructor and Description |
---|
Consumer() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int offset,
int length) |
void |
endDocument() |
void |
endElement(String tagName) |
protected abstract DocumentHandler |
getEntryConsumer() |
abstract Enumeration |
getResults() |
void |
ignorableWhitespace(char[] ch,
int offset,
int length) |
void |
processingInstruction(String target,
String instruction) |
void |
setDocumentLocator(Locator locator) |
void |
startDocument() |
void |
startElement(String tagName,
AttributeList attr) |
public abstract Enumeration getResults()
protected abstract DocumentHandler getEntryConsumer()
public void startElement(String tagName, AttributeList attr) throws SAXException
startElement
in interface DocumentHandler
SAXException
public void endElement(String tagName) throws SAXException
endElement
in interface DocumentHandler
SAXException
public void characters(char[] ch, int offset, int length) throws SAXException
characters
in interface DocumentHandler
SAXException
public void ignorableWhitespace(char[] ch, int offset, int length) throws SAXException
ignorableWhitespace
in interface DocumentHandler
SAXException
public void processingInstruction(String target, String instruction) throws SAXException
processingInstruction
in interface DocumentHandler
SAXException
public void startDocument() throws SAXException
startDocument
in interface DocumentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface DocumentHandler
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface DocumentHandler
Copyright © 2021. All rights reserved.