public class DCModuleParser extends java.lang.Object implements ModuleParser
| Constructor and Description |
|---|
DCModuleParser() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNamespaceUri()
Returns the namespace URI this parser handles.
|
protected java.lang.String |
getTaxonomy(org.jdom.Element desc)
Utility method to parse a taxonomy from an element.
|
Module |
parse(org.jdom.Element dcRoot)
Parse an element tree and return the module found in it.
|
protected java.util.List |
parseElementList(java.util.List eList)
Utility method to parse a list of strings out of a list of elements.
|
protected java.util.List |
parseElementListDate(java.util.List eList)
Utility method to parse a list of dates out of a list of elements.
|
protected java.util.List |
parseSubjects(java.util.List eList)
Utility method to parse a list of subjects out of a list of elements.
|
public final java.lang.String getNamespaceUri()
ModuleParsergetNamespaceUri in interface ModuleParserpublic Module parse(org.jdom.Element dcRoot)
parse in interface ModuleParserdcRoot - the root element containing the module elements.protected final java.lang.String getTaxonomy(org.jdom.Element desc)
desc - the taxonomy description element.protected final java.util.List parseSubjects(java.util.List eList)
eList - the element list to parse.protected final java.util.List parseElementList(java.util.List eList)
eList - the list of elements to parse.protected final java.util.List parseElementListDate(java.util.List eList)
eList - the list of elements to parse.