public class ModuleParser extends Object implements ModuleParser
Modifier and Type | Field and Description |
---|---|
static org.jdom2.Namespace |
TEMP |
Constructor and Description |
---|
ModuleParser() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNotNullAttribute(org.jdom2.Element target,
String name,
Object value) |
String |
getNamespaceUri()
Returns the namespace URI this parser handles.
|
void |
insertValues(SimpleListExtension sle,
List<org.jdom2.Element> elements) |
Module |
parse(org.jdom2.Element element,
Locale locale)
Parses the XML node (JDOM element) extracting module information.
|
public String getNamespaceUri()
getNamespaceUri
in interface ModuleParser
public Module parse(org.jdom2.Element element, Locale locale)
parse
in interface ModuleParser
element
- the XML node (JDOM element) to extract module information from.protected void addNotNullAttribute(org.jdom2.Element target, String name, Object value)
public void insertValues(SimpleListExtension sle, List<org.jdom2.Element> elements)
Copyright © 2020. All rights reserved.