Package com.rometools.rome.io.impl
Class BaseWireFeedParser
- java.lang.Object
-
- com.rometools.rome.io.impl.BaseWireFeedParser
-
- All Implemented Interfaces:
WireFeedParser
- Direct Known Subclasses:
Atom03Parser,Atom10Parser,RSS090Parser
public abstract class BaseWireFeedParser extends Object implements WireFeedParser
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseWireFeedParser(String type, org.jdom2.Namespace namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.jdom2.Element>extractForeignMarkup(org.jdom2.Element e, Extendable ext, org.jdom2.Namespace namespace)protected org.jdom2.AttributegetAttribute(org.jdom2.Element e, String attributeName)protected StringgetAttributeValue(org.jdom2.Element e, String attributeName)protected StringgetStyleSheet(org.jdom2.Document doc)StringgetType()Returns the type of feed the parser handles.protected List<Module>parseFeedModules(org.jdom2.Element feedElement, Locale locale)protected List<Module>parseItemModules(org.jdom2.Element itemElement, Locale locale)protected List<Module>parsePersonModules(org.jdom2.Element itemElement, Locale locale)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.rometools.rome.io.WireFeedParser
isMyType, parse
-
-
-
-
Constructor Detail
-
BaseWireFeedParser
protected BaseWireFeedParser(String type, org.jdom2.Namespace namespace)
-
-
Method Detail
-
getType
public String getType()
Returns the type of feed the parser handles.- Specified by:
getTypein interfaceWireFeedParser- Returns:
- the type of feed the parser handles.
- See Also:
for details on the format of this string.
-
parseFeedModules
protected List<Module> parseFeedModules(org.jdom2.Element feedElement, Locale locale)
-
parseItemModules
protected List<Module> parseItemModules(org.jdom2.Element itemElement, Locale locale)
-
parsePersonModules
protected List<Module> parsePersonModules(org.jdom2.Element itemElement, Locale locale)
-
extractForeignMarkup
protected List<org.jdom2.Element> extractForeignMarkup(org.jdom2.Element e, Extendable ext, org.jdom2.Namespace namespace)
-
getAttribute
protected org.jdom2.Attribute getAttribute(org.jdom2.Element e, String attributeName)
-
getStyleSheet
protected String getStyleSheet(org.jdom2.Document doc)
-
-