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

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

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

Author:
Robert "kebernet" Cooper

Field Summary
static org.jdom.Namespace TEMP
           
 
Constructor Summary
ModuleParser()
          Creates a new instance of ModuleParser
 
Method Summary
protected  void addNotNullAttribute(org.jdom.Element target, String name, Object value)
           
 String getNamespaceUri()
          Returns the namespace URI this parser handles.
 void insertValues(SimpleListExtension sle, List elements)
           
 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
 

Field Detail

TEMP

public static final org.jdom.Namespace TEMP
Constructor Detail

ModuleParser

public ModuleParser()
Creates a new instance of ModuleParser

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.

addNotNullAttribute

protected void addNotNullAttribute(org.jdom.Element target,
                                   String name,
                                   Object value)

insertValues

public void insertValues(SimpleListExtension sle,
                         List elements)


Copyright © 2013 ROME Project. All Rights Reserved.