public class RssParser
extends com.rometools.rome.io.impl.RSS20Parser
implements com.rometools.rome.io.WireFeedParser
Constructor and Description |
---|
RssParser() |
Modifier and Type | Method and Description |
---|---|
protected org.jdom2.Namespace |
getRSSNamespace() |
String |
getType() |
boolean |
isMyType(org.jdom2.Document document) |
com.rometools.rome.feed.WireFeed |
parse(org.jdom2.Document document,
boolean validate,
Locale locale) |
com.rometools.rome.feed.rss.Item |
parseItem(org.jdom2.Element rssRoot,
org.jdom2.Element itemElement,
Locale locale) |
getRSSVersion, isHourFormat24, parseItemDescription
getImage, getItems, getTextInput, getTextInputLabel, parseImage
getContentNamespace, getRDFNamespace, parseItems, parseTextInput, validateFeed
public String getType()
getType
in interface com.rometools.rome.io.WireFeedParser
getType
in class com.rometools.rome.io.impl.BaseWireFeedParser
public boolean isMyType(org.jdom2.Document document)
isMyType
in interface com.rometools.rome.io.WireFeedParser
isMyType
in class com.rometools.rome.io.impl.RSS20Parser
protected org.jdom2.Namespace getRSSNamespace()
getRSSNamespace
in class com.rometools.rome.io.impl.RSS091UserlandParser
public com.rometools.rome.feed.rss.Item parseItem(org.jdom2.Element rssRoot, org.jdom2.Element itemElement, Locale locale)
parseItem
in class com.rometools.rome.io.impl.RSS094Parser
public com.rometools.rome.feed.WireFeed parse(org.jdom2.Document document, boolean validate, Locale locale) throws IllegalArgumentException, com.rometools.rome.io.FeedException
parse
in interface com.rometools.rome.io.WireFeedParser
parse
in class com.rometools.rome.io.impl.RSS090Parser
IllegalArgumentException
com.rometools.rome.io.FeedException
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.