|
|||||||||
| Home >> All >> com >> sun >> syndication >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.sun.syndication.io
Interface WireFeedParser

- public interface WireFeedParser
Parses an XML document (JDOM) into a feed bean.
WireFeedParser instances must thread safe.
TODO: explain how developers can plugin their own implementations.
| Method Summary | |
java.lang.String |
getType()
Returns the type of feed the parser handles. |
boolean |
isMyType(org.jdom.Document document)
Inspects an XML Document (JDOM) to check if it can parse it. |
com.sun.syndication.feed.WireFeed |
parse(org.jdom.Document document,
boolean validate)
Parses an XML document (JDOM Document) into a feed bean. |
| Method Detail |
getType
public java.lang.String getType()
- Returns the type of feed the parser handles.
isMyType
public boolean isMyType(org.jdom.Document document)
- Inspects an XML Document (JDOM) to check if it can parse it.
It checks if the given document if the type of feeds the parser understands.
parse
public com.sun.syndication.feed.WireFeed parse(org.jdom.Document document, boolean validate) throws java.lang.IllegalArgumentException, FeedException
- Parses an XML document (JDOM Document) into a feed bean.
|
|||||||||
| Home >> All >> com >> sun >> syndication >> [ io overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC