org.rometools.feed.module.sle.io
Class ItemParser

java.lang.Object
  extended by org.rometools.feed.module.sle.io.ItemParser
All Implemented Interfaces:
com.sun.syndication.io.ModuleParser

public class ItemParser
extends Object
implements com.sun.syndication.io.ModuleParser

Author:
Robert "kebernet" Cooper

Constructor Summary
ItemParser()
          Creates a new instance of ItemParser
 
Method Summary
 String getNamespaceUri()
          Returns the namespace URI this parser handles.
 com.sun.syndication.feed.module.Module parse(org.jdom.Element element)
          Parses the XML node (JDOM element) extracting module information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemParser

public ItemParser()
Creates a new instance of ItemParser

Method Detail

getNamespaceUri

public String getNamespaceUri()
Returns the namespace URI this parser handles.

Specified by:
getNamespaceUri in interface com.sun.syndication.io.ModuleParser
Returns:
the namespace URI.

parse

public com.sun.syndication.feed.module.Module parse(org.jdom.Element element)
Parses the XML node (JDOM element) extracting module information.

Specified by:
parse in interface com.sun.syndication.io.ModuleParser
Parameters:
element - the XML node (JDOM element) to extract module information from.
Returns:
a module instance, null if the element did not have module information.


Copyright © 2013 ROME Project. All Rights Reserved.