public abstract class BaseWireFeedParser extends Object implements WireFeedParser
Modifier | Constructor and Description |
---|---|
protected |
BaseWireFeedParser(String type,
org.jdom2.Namespace namespace) |
Modifier and Type | Method and Description |
---|---|
protected List<org.jdom2.Element> |
extractForeignMarkup(org.jdom2.Element e,
Extendable ext,
org.jdom2.Namespace namespace) |
protected org.jdom2.Attribute |
getAttribute(org.jdom2.Element e,
String attributeName) |
protected String |
getAttributeValue(org.jdom2.Element e,
String attributeName) |
protected String |
getStyleSheet(org.jdom2.Document doc) |
String |
getType()
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isMyType, parse
protected BaseWireFeedParser(String type, org.jdom2.Namespace namespace)
public String getType()
getType
in interface WireFeedParser
for details on the format of this string.
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)
protected List<org.jdom2.Element> extractForeignMarkup(org.jdom2.Element e, Extendable ext, org.jdom2.Namespace namespace)
protected org.jdom2.Attribute getAttribute(org.jdom2.Element e, String attributeName)
protected String getStyleSheet(org.jdom2.Document doc)
Copyright © 2021. All rights reserved.