public class ModuleParser extends java.lang.Object implements ModuleParser
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
(package private) static org.jdom2.Namespace |
NS |
static org.jdom2.Namespace |
TEMP |
Constructor and Description |
---|
ModuleParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNotNullAttribute(org.jdom2.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<org.jdom2.Element> elements) |
Module |
parse(org.jdom2.Element element,
java.util.Locale locale)
Parses the XML node (JDOM element) extracting module information.
|
private static final org.slf4j.Logger LOG
static final org.jdom2.Namespace NS
public static final org.jdom2.Namespace TEMP
public java.lang.String getNamespaceUri()
getNamespaceUri
in interface ModuleParser
public Module parse(org.jdom2.Element element, java.util.Locale locale)
parse
in interface ModuleParser
element
- the XML node (JDOM element) to extract module information from.protected void addNotNullAttribute(org.jdom2.Element target, java.lang.String name, java.lang.Object value)
public void insertValues(SimpleListExtension sle, java.util.List<org.jdom2.Element> elements)