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

public abstract Class BaseWireFeedParser

extends Object
implements WireFeedParser
Class Inheritance
All Implemented Interfaces
com.rometools.rome.io.WireFeedParser
Known Direct Subclasses
com.rometools.rome.io.impl.RSS090Parser, com.rometools.rome.io.impl.Atom03Parser, com.rometools.rome.io.impl.Atom10Parser
Imports
java.util.ArrayList, .List, .Locale, org.jdom2.Attribute, .Content, .Document, .Element, .Namespace, .ProcessingInstruction, org.jdom2.filter.ContentFilter, com.rometools.rome.feed.WireFeed, com.rometools.rome.feed.module.Extendable, .Module, com.rometools.rome.io.WireFeedParser

Field Summary

Modifier and TypeField and Description
private static final String
FEED_MODULE_PARSERS_POSFIX_KEY

[TYPE].feed.ModuleParser.classes= [className] ...

private final ModuleParsers
private static final String
ITEM_MODULE_PARSERS_POSFIX_KEY

[TYPE].item.ModuleParser.classes= [className] ...

private final ModuleParsers
private final Namespace
private static final String
PERSON_MODULE_PARSERS_POSFIX_KEY

[TYPE].person.ModuleParser.classes= [className] ...

private final ModuleParsers
private final String

Constructor Summary

AccessConstructor and Description
protected
BaseWireFeedParser(final String type, final Namespace namespace)

Method Summary

Modifier and TypeMethod and Description
protected List<Element>
extractForeignMarkup(final Element e, final Extendable ext, final Namespace namespace)

protected Attribute
getAttribute(final Element e, final String attributeName)

protected String
getAttributeValue(final Element e, final String attributeName)

protected String
public String

Returns:

the type of feed the parser handles.
getType
()

Implements com.rometools.rome.io.WireFeedParser.getType.

Returns the type of feed the parser handles.
protected List<Module>
parseFeedModules(final Element feedElement, final Locale locale)

protected List<Module>
parseItemModules(final Element itemElement, final Locale locale)

protected List<Module>
parsePersonModules(final Element itemElement, final Locale locale)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FEED_MODULE_PARSERS_POSFIX_KEYback to summary
private static final String FEED_MODULE_PARSERS_POSFIX_KEY

[TYPE].feed.ModuleParser.classes= [className] ...

feedModuleParsersback to summary
private final ModuleParsers feedModuleParsers
ITEM_MODULE_PARSERS_POSFIX_KEYback to summary
private static final String ITEM_MODULE_PARSERS_POSFIX_KEY

[TYPE].item.ModuleParser.classes= [className] ...

itemModuleParsersback to summary
private final ModuleParsers itemModuleParsers
namespaceback to summary
private final Namespace namespace
PERSON_MODULE_PARSERS_POSFIX_KEYback to summary
private static final String PERSON_MODULE_PARSERS_POSFIX_KEY

[TYPE].person.ModuleParser.classes= [className] ...

personModuleParsersback to summary
private final ModuleParsers personModuleParsers
typeback to summary
private final String type

Constructor Detail

BaseWireFeedParserback to summary
protected BaseWireFeedParser(final String type, final Namespace namespace)

Method Detail

extractForeignMarkupback to summary
protected List<Element> extractForeignMarkup(final Element e, final Extendable ext, final Namespace namespace)
getAttributeback to summary
protected Attribute getAttribute(final Element e, final String attributeName)
getAttributeValueback to summary
protected String getAttributeValue(final Element e, final String attributeName)
getStyleSheetback to summary
protected String getStyleSheet(final Document doc)
getTypeback to summary
public String getType()

Implements com.rometools.rome.io.WireFeedParser.getType.

Returns the type of feed the parser handles.

Returns:String

the type of feed the parser handles.

Annotations
@Override
See Also
{@link WireFeed} for details on the format of this string.

parseFeedModulesback to summary
protected List<Module> parseFeedModules(final Element feedElement, final Locale locale)
parseItemModulesback to summary
protected List<Module> parseItemModules(final Element itemElement, final Locale locale)
parsePersonModulesback to summary
protected List<Module> parsePersonModules(final Element itemElement, final Locale locale)