com.sun.syndication.feed.module.sle.io
Class ModuleParser
java.lang.Object
com.sun.syndication.feed.module.sle.io.ModuleParser
- All Implemented Interfaces:
- com.sun.syndication.io.ModuleParser
public class ModuleParser
- extends java.lang.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,
java.lang.String name,
java.lang.Object value)
|
java.lang.String |
getNamespaceUri()
Returns the namespace URI this parser handles. |
void |
insertValues(SimpleListExtension sle,
java.util.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 |
TEMP
public static final org.jdom.Namespace TEMP
ModuleParser
public ModuleParser()
- Creates a new instance of ModuleParser
getNamespaceUri
public java.lang.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,
java.lang.String name,
java.lang.Object value)
insertValues
public void insertValues(SimpleListExtension sle,
java.util.List elements)
Copyright © 2006-2009. All Rights Reserved.