|
||||||||||
| 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.Atom_1_0_Parser
public class Atom_1_0_Parser
Parser for the Atom 1.0 Format
Specification: http://www.atomenabled.org/developers/syndication/
| Field Summary | |
|---|---|
private static org.jdom.Namespace |
xhtml
Namespace: XHTML |
| Fields inherited from class net.sourceforge.rssowl.dao.feedparser.AbstractFeedParser |
|---|
content, dc, defNs, document, rdf, root, rssChannel, sy, url |
| Constructor Summary | |
|---|---|
Atom_1_0_Parser(org.jdom.Document document,
Channel rssChannel,
java.lang.String url,
org.jdom.Namespace[] nameSpaces)
Instantiate a new Parser for this format. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getChildText(java.lang.String element,
org.jdom.Element parent)
Get a text-value from the atom document. |
protected void |
parse()
Parse elements that are defined in the specifications and add them to the Channel. |
private java.lang.String |
resolve(java.net.URI base,
java.lang.String rel)
Resolve the given String to the given Base URI. |
| 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 |
| Field Detail |
|---|
private static final org.jdom.Namespace xhtml
| Constructor Detail |
|---|
public Atom_1_0_Parser(org.jdom.Document document,
Channel rssChannel,
java.lang.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 occurs| Method Detail |
|---|
private java.lang.String resolve(java.net.URI base,
java.lang.String rel)
base - The Base URI to use for resolving.rel - The relative to resolve against the URI.
protected java.lang.String getChildText(java.lang.String element,
org.jdom.Element parent)
element - The element's nameparent - The parent element
protected void parse()
AbstractFeedParser
parse in class AbstractFeedParserAbstractFeedParser.parse()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||