public class AtomModuleParser extends java.lang.Object implements ModuleParser
Modifier and Type | Field and Description |
---|---|
private static org.jdom2.Namespace |
NS |
Constructor and Description |
---|
AtomModuleParser() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getAttributeValue(org.jdom2.Element e,
java.lang.String attributeName) |
java.lang.String |
getNamespaceUri()
Returns the namespace URI this parser handles.
|
Module |
parse(org.jdom2.Element element,
java.util.Locale locale)
Parses the XML node (JDOM element) extracting module information.
|
private Link |
parseLink(org.jdom2.Element eLink) |
public java.lang.String getNamespaceUri()
ModuleParser
getNamespaceUri
in interface ModuleParser
public Module parse(org.jdom2.Element element, java.util.Locale locale)
ModuleParser
parse
in interface ModuleParser
element
- the XML node (JDOM element) to extract module information from.private Link parseLink(org.jdom2.Element eLink)
protected java.lang.String getAttributeValue(org.jdom2.Element e, java.lang.String attributeName)