public class ContentModuleParser extends java.lang.Object implements ModuleParser
| Modifier and Type | Field and Description |
|---|---|
private static org.jdom2.Namespace |
CONTENT_NS |
private static org.jdom2.Namespace |
RDF_NS |
| Constructor and Description |
|---|
ContentModuleParser() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNamespaceUri()
Returns the namespace URI this parser handles.
|
protected java.lang.String |
getXmlInnerText(org.jdom2.Element e) |
Module |
parse(org.jdom2.Element element,
java.util.Locale locale)
Parses the XML node (JDOM element) extracting module information.
|
private static final org.jdom2.Namespace CONTENT_NS
private static final org.jdom2.Namespace RDF_NS
public java.lang.String getNamespaceUri()
ModuleParsergetNamespaceUri in interface ModuleParserpublic Module parse(org.jdom2.Element element, java.util.Locale locale)
ModuleParserparse in interface ModuleParserelement - the XML node (JDOM element) to extract module information from.protected java.lang.String getXmlInnerText(org.jdom2.Element e)