Top Fields Constructors Methods
com.rometools.rome.io.impl

public Class RSS092Parser

extends RSS091UserlandParser
Class Inheritance
Known Direct Subclasses
com.rometools.rome.io.impl.RSS093Parser
Imports
java.util.ArrayList, .List, .Locale, org.jdom2.Content, .Element, org.jdom2.output.XMLOutputter, org.slf4j.Logger, .LoggerFactory, com.rometools.rome.feed.WireFeed, com.rometools.rome.feed.rss.Category, .Channel, .Cloud, .Description, .Enclosure, .Item, .Source, com.rometools.utils.Strings

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public
protected
RSS092Parser(final String type)

Method Summary

Modifier and TypeMethod and Description
protected String
protected List<Category>
protected WireFeed
parseChannel(final Element
the root element of the RSS document to parse.
rssRoot
,
final Locale locale)

Overrides com.rometools.rome.io.impl.RSS091UserlandParser.parseChannel.

Parses the root element of an RSS document into a Channel bean.
protected Item
parseItem(final Element
the root element of the RSS document in case it's needed for context.
rssRoot
,
final Element
the item element to parse.
eItem
,
final Locale locale)

Overrides com.rometools.rome.io.impl.RSS091UserlandParser.parseItem.

Parses an item element of an RSS document looking for item information.
protected Description
Inherited from com.rometools.rome.io.impl.RSS091UserlandParser:
getImagegetItemsgetRSSNamespacegetTextInputgetTextInputLabelisHourFormat24isMyTypeparseImage

Field Detail

LOGback to summary
private static final Logger LOG

Constructor Detail

RSS092Parserback to summary
public RSS092Parser()
RSS092Parserback to summary
protected RSS092Parser(final String type)

Method Detail

getRSSVersionback to summary
protected String getRSSVersion()

Overrides com.rometools.rome.io.impl.RSS091UserlandParser.getRSSVersion.

Annotations
@Override
parseCategoriesback to summary
protected List<Category> parseCategories(final List<Element> eCats)
parseChannelback to summary
protected WireFeed parseChannel(final Element rssRoot, final Locale locale)

Overrides com.rometools.rome.io.impl.RSS091UserlandParser.parseChannel.

Doc from com.rometools.rome.io.impl.RSS091UserlandParser.parseChannel.

Parses the root element of an RSS document into a Channel bean.

It first invokes super.parseChannel and then parses and injects the following properties if present: language, pubDate, rating and copyright.

Parameters
rssRoot:Element

the root element of the RSS document to parse.

Returns:WireFeed

the parsed Channel bean.

Annotations
@Override
parseItemback to summary
protected Item parseItem(final Element rssRoot, final Element eItem, final Locale locale)

Overrides com.rometools.rome.io.impl.RSS091UserlandParser.parseItem.

Doc from com.rometools.rome.io.impl.RSS091UserlandParser.parseItem.

Parses an item element of an RSS document looking for item information.

It first invokes super.parseItem and then parses and injects the description property if present.

Parameters
rssRoot:Element

the root element of the RSS document in case it's needed for context.

eItem:Element

the item element to parse.

Returns:Item

the parsed RSSItem bean.

Annotations
@Override
parseItemDescriptionback to summary
protected Description parseItemDescription(final Element rssRoot, final Element eDesc)

Overrides com.rometools.rome.io.impl.RSS091UserlandParser.parseItemDescription.

Annotations
@Override