Package com.rometools.modules.sle.io
Class ItemParser
- java.lang.Object
-
- com.rometools.modules.sle.io.ItemParser
-
- All Implemented Interfaces:
ModuleParser
public class ItemParser extends Object implements ModuleParser
-
-
Constructor Summary
Constructors Constructor Description ItemParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNamespaceUri()Returns the namespace URI this parser handles.Moduleparse(org.jdom2.Element element, Locale locale)Parses the XML node (JDOM element) extracting module information.
-
-
-
Method Detail
-
getNamespaceUri
public String getNamespaceUri()
Returns the namespace URI this parser handles.- Specified by:
getNamespaceUriin interfaceModuleParser- Returns:
- the namespace URI.
-
parse
public Module parse(org.jdom2.Element element, Locale locale)
Parses the XML node (JDOM element) extracting module information.- Specified by:
parsein interfaceModuleParser- 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.
-
-