|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.nava.informa.parsers.Atom_0_3_Parser
class Atom_0_3_Parser
Parser which reads in document instances according to the Atom 0.3 specification and generates a news channel object. Currently the support for the atom syntax is not complete.
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
LOGGER
|
Method Summary | |
---|---|
(package private) static String |
getContent(org.jdom.Element elt)
Returns the content from content element. |
(package private) static String |
getCopyright(org.jdom.Element elt)
Returns copyright from element. |
static String |
getDescription(org.jdom.Element item,
org.jdom.Namespace namespace)
Looks for "content" elements and takes first from them or looks for "summary" element if "content" not found. |
static Atom_0_3_Parser |
getInstance()
Get the Atom_0_3_Parser instance. |
(package private) static String |
getTitle(org.jdom.Element elt)
Returns the title from title element. |
(package private) static String |
getValue(org.jdom.Element elt)
|
ChannelIF |
parse(ChannelBuilderIF cBuilder,
org.jdom.Element channel)
Method that implements the parser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log LOGGER
Method Detail |
---|
public static Atom_0_3_Parser getInstance()
static String getValue(org.jdom.Element elt)
static String getContent(org.jdom.Element elt)
static String getCopyright(org.jdom.Element elt)
public static String getDescription(org.jdom.Element item, org.jdom.Namespace namespace)
item
- item element.namespace
- namespace.
static String getTitle(org.jdom.Element elt)
public ChannelIF parse(ChannelBuilderIF cBuilder, org.jdom.Element channel) throws ParseException
ChannelParserIF
parse
in interface ChannelParserIF
ParseException
ChannelParserIF.parse(de.nava.informa.core.ChannelBuilderIF, org.jdom.Element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |