public class FeedContentReader extends FeedReader
Constructor and Description |
---|
FeedContentReader(Feed feed)
Constructor.
|
FeedContentReader(Feed feed,
FeedReader extraFeedReader)
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)
Receives notification of the beginning of a text element.
|
endContent, endEntry, endFeed, endLink, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startContent, startEntry, startFeed, startLink, unparsedEntityDecl, warning
public FeedContentReader(Feed feed)
feed
- The feed object to update during the parsing.public FeedContentReader(Feed feed, FeedReader extraFeedReader)
feed
- The feed object to update during the parsing.extraFeedReader
- Custom handler of all events.public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class FeedReader
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class FeedReader
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class FeedReader
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
endPrefixMapping
in class FeedReader
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class FeedReader
SAXException
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class FeedReader
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
startPrefixMapping
in class FeedReader
SAXException
public void startTextElement(Attributes attrs)
attrs
- The attributes attached to the element.Copyright © 2005–2017. All rights reserved.