|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.io.impl.BaseWireFeedParser
com.sun.syndication.io.impl.RSS090Parser
com.sun.syndication.io.impl.RSS091UserlandParser
public class RSS091UserlandParser
Constructor Summary | |
---|---|
|
RSS091UserlandParser()
|
protected |
RSS091UserlandParser(String type)
|
Method Summary | |
---|---|
protected org.jdom2.Element |
getImage(org.jdom2.Element rssRoot)
It looks for the 'image' elements under the 'channel' elemment. |
protected List<org.jdom2.Element> |
getItems(org.jdom2.Element rssRoot)
It looks for the 'item' elements under the 'channel' elemment. |
protected org.jdom2.Namespace |
getRSSNamespace()
Returns the namespace used by RSS elements in document of the RSS version the parser supports. |
protected String |
getRSSVersion()
|
protected org.jdom2.Element |
getTextInput(org.jdom2.Element rssRoot)
It looks for the 'textinput' elements under the 'channel' elemment. |
protected String |
getTextInputLabel()
To be overriden by RSS 0.91 Netscape parser |
protected boolean |
isHourFormat24(org.jdom2.Element rssRoot)
To be overriden by RSS 0.91 Netscape and RSS 0.94 |
boolean |
isMyType(org.jdom2.Document document)
Inspects an XML Document (JDOM) to check if it can parse it. |
protected WireFeed |
parseChannel(org.jdom2.Element rssRoot)
Parses the root element of an RSS document into a Channel bean. |
protected Image |
parseImage(org.jdom2.Element rssRoot)
Parses the root element of an RSS document looking for image information. |
protected Item |
parseItem(org.jdom2.Element rssRoot,
org.jdom2.Element eItem)
Parses an item element of an RSS document looking for item information. |
protected Description |
parseItemDescription(org.jdom2.Element rssRoot,
org.jdom2.Element eDesc)
|
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser |
---|
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed |
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser |
---|
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSS091UserlandParser()
protected RSS091UserlandParser(String type)
Method Detail |
---|
public boolean isMyType(org.jdom2.Document document)
WireFeedParser
It checks if the given document if the type of feeds the parser understands.
isMyType
in interface WireFeedParser
isMyType
in class RSS090Parser
document
- XML Document (JDOM) to check if it can be parsed by this
parser.
protected String getRSSVersion()
protected org.jdom2.Namespace getRSSNamespace()
RSS090Parser
This implementation returns the EMTPY namespace.
getRSSNamespace
in class RSS090Parser
protected boolean isHourFormat24(org.jdom2.Element rssRoot)
protected WireFeed parseChannel(org.jdom2.Element rssRoot)
parseChannel
in class RSS090Parser
rssRoot
- the root element of the RSS document to parse.
protected Image parseImage(org.jdom2.Element rssRoot)
parseImage
in class RSS090Parser
rssRoot
- the root element of the RSS document to parse for image
information.
protected List<org.jdom2.Element> getItems(org.jdom2.Element rssRoot)
getItems
in class RSS090Parser
protected org.jdom2.Element getImage(org.jdom2.Element rssRoot)
getImage
in class RSS090Parser
protected String getTextInputLabel()
protected org.jdom2.Element getTextInput(org.jdom2.Element rssRoot)
getTextInput
in class RSS090Parser
protected Item parseItem(org.jdom2.Element rssRoot, org.jdom2.Element eItem)
parseItem
in class RSS090Parser
rssRoot
- the root element of the RSS document in case it's needed
for context.eItem
- the item element to parse.
protected Description parseItemDescription(org.jdom2.Element rssRoot, org.jdom2.Element eDesc)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |