|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.io.impl.Atom03Parser
Constructor Summary | |
Atom03Parser()
|
Method Summary | |
protected org.jdom.Namespace |
getAtomNamespace()
|
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. |
AbstractFeed |
parse(org.jdom.Document document,
boolean validate)
Parses an XML document (JDOM Document) into a feed bean. |
protected AbstractFeed |
parseFeed(org.jdom.Element eFeed)
|
protected void |
validateFeed(org.jdom.Document document)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Atom03Parser()
Method Detail |
public java.lang.String getType()
FeedParser
getType
in interface FeedParser
for details on the format of this string.
protected org.jdom.Namespace getAtomNamespace()
public boolean isMyType(org.jdom.Document document)
FeedParser
It checks if the given document if the type of feeds the parser understands.
isMyType
in interface FeedParser
document
- XML Document (JDOM) to check if it can be parsed by this parser.
public AbstractFeed parse(org.jdom.Document document, boolean validate) throws java.lang.IllegalArgumentException, FeedException
FeedParser
parse
in interface FeedParser
document
- XML document (JDOM) to parse.validate
- indicates if the feed should be strictly validated (NOT YET IMPLEMENTED).
java.lang.IllegalArgumentException
- thrown if the parser cannot handle the given feed type.
FeedException
- thrown if a feed bean cannot be created out of the XML document (JDOM).protected void validateFeed(org.jdom.Document document) throws FeedException
FeedException
protected AbstractFeed parseFeed(org.jdom.Element eFeed)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |