org.rometools.feed.module.sle.io
Class ModuleParser
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEMP
public static final org.jdom.Namespace TEMP
ModuleParser
public ModuleParser()
- Creates a new instance of ModuleParser
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.