com.sun.syndication.io.impl
Class BaseWireFeedParser

java.lang.Object
  extended by com.sun.syndication.io.impl.BaseWireFeedParser
All Implemented Interfaces:
WireFeedParser
Direct Known Subclasses:
Atom03Parser, Atom10Parser, RSS090Parser

public abstract class BaseWireFeedParser
extends Object
implements WireFeedParser

Author:
Alejandro Abdelnur

Constructor Summary
protected BaseWireFeedParser(String type, org.jdom2.Namespace namespace)
           
 
Method Summary
protected  List<org.jdom2.Element> extractForeignMarkup(org.jdom2.Element e, Extendable ext, org.jdom2.Namespace basens)
           
protected  org.jdom2.Attribute getAttribute(org.jdom2.Element e, String attributeName)
           
protected  String getAttributeValue(org.jdom2.Element e, String attributeName)
           
 String getType()
          Returns the type of feed the parser handles.
protected  List<Module> parseFeedModules(org.jdom2.Element feedElement)
           
protected  List<Module> parseItemModules(org.jdom2.Element itemElement)
           
protected  List<Module> parsePersonModules(org.jdom2.Element itemElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.syndication.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:
getType in interface WireFeedParser
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)

parseItemModules

protected List<Module> parseItemModules(org.jdom2.Element itemElement)

parsePersonModules

protected List<Module> parsePersonModules(org.jdom2.Element itemElement)

extractForeignMarkup

protected List<org.jdom2.Element> extractForeignMarkup(org.jdom2.Element e,
                                                       Extendable ext,
                                                       org.jdom2.Namespace basens)

getAttribute

protected org.jdom2.Attribute getAttribute(org.jdom2.Element e,
                                           String attributeName)

getAttributeValue

protected String getAttributeValue(org.jdom2.Element e,
                                   String attributeName)


Copyright © 2004–2013 ROME Project. All rights reserved.