public class EntryContentReader extends EntryReader
Constructor and Description |
---|
EntryContentReader(Entry entry)
Constructor.
|
EntryContentReader(Entry entry,
EntryReader extraEntryHandler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
void |
endPrefixMapping(String prefix) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
void |
startPrefixMapping(String prefix,
String uri) |
void |
startTextElement(Attributes attrs)
Receive notification of the beginning of a text element.
|
endContent, endEntry, endLink, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startContent, startEntry, startLink, unparsedEntityDecl, warning
public EntryContentReader(Entry entry)
entry
- The entry object to update during the parsing.public EntryContentReader(Entry entry, EntryReader extraEntryHandler)
entry
- The entry object to update during the parsing.extraEntryHandler
- Custom handler of all events.public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class EntryReader
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class EntryReader
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class EntryReader
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
endPrefixMapping
in class EntryReader
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class EntryReader
SAXException
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class EntryReader
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
startPrefixMapping
in class EntryReader
SAXException
public void startTextElement(Attributes attrs)
attrs
- The attributes attached to the element.Copyright © 2005–2019. All rights reserved.