|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.rssowl.dao.feedparser.AbstractFeedParser
net.sourceforge.rssowl.dao.feedparser.OPML_1_0_Parser
Parser for the OPML 1.0 Format
Specification: http://www.opml.org/spec
Field Summary |
Fields inherited from class net.sourceforge.rssowl.dao.feedparser.AbstractFeedParser |
content, dc, defNs, document, rdf, root, rssChannel, sy, url |
Constructor Summary | |
protected |
OPML_1_0_Parser(org.jdom.Document document,
Channel rssChannel,
String url,
org.jdom.Namespace[] nameSpaces)
Instantiate a new Parser for this format. |
Method Summary | |
protected void |
parse()
Parse elements that are defined in the specifications and add them to the Channel. |
private void |
parseBody(org.jdom.Element body)
Parse the Body element |
private void |
parseHead(org.jdom.Element head)
Parse the Head Element |
private void |
parseOutline(org.jdom.Element outline)
Recursivly parse Outline Elements |
Methods inherited from class net.sourceforge.rssowl.dao.feedparser.AbstractFeedParser |
getAttributeValue, getAttributeValue, getChildElement, getChildElement, getChildren, getChildren, getChildValue, getChildValue, parseContentModule, parseDCModule |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected OPML_1_0_Parser(org.jdom.Document document, Channel rssChannel, String url, org.jdom.Namespace[] nameSpaces) throws NewsfeedFactoryException
document
- The document containing the data to parserssChannel
- The Channel to fill with data from the documenturl
- The URL of the Newsfeed that is parsednameSpaces
- Possible Namespaces of the XML document
NewsfeedFactoryException
- If any error occursMethod Detail |
private void parseBody(org.jdom.Element body)
body
- The Body elementprivate void parseHead(org.jdom.Element head)
head
- The Head elementprivate void parseOutline(org.jdom.Element outline)
outline
- The Outline element to parseprotected void parse() throws NewsfeedFactoryException
AbstractFeedParser
parse
in class AbstractFeedParser
NewsfeedFactoryException
- If any error occursAbstractFeedParser.parse()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |