|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeedParser
This FeedParser implementation is based on JDOM and Jaxen and is based around XPath and JDOM iteration. While the implementation is straight forward it has not been optimized for performance. A SAX based parser would certainly be less memory intensive but with the downside of being harder to develop.
Method Summary | |
---|---|
void |
parse(FeedParserListener listener,
org.jdom.Document doc)
Parse this feed. |
void |
parse(FeedParserListener listener,
InputStream is)
Deprecated. Use #parse( FeedParserException, InputStream, String ) |
void |
parse(FeedParserListener listener,
InputStream is,
String resource)
Parse this feed. |
Method Detail |
---|
void parse(FeedParserListener listener, InputStream is, String resource) throws FeedParserException
resource
- The URL of the feed being parsed. This is optional and
may be null but is used when an exception is thrown to aid debugging.
FeedParserException
void parse(FeedParserListener listener, InputStream is) throws FeedParserException
FeedParserException
void parse(FeedParserListener listener, org.jdom.Document doc) throws FeedParserException
FeedParserException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |