java.lang.Object
com.sun.syndication.io.impl.DCModuleParser
- All Implemented Interfaces:
- com.sun.syndication.io.ModuleParser
- public class DCModuleParser
- extends java.lang.Object
- implements com.sun.syndication.io.ModuleParser
Parser for the Dublin Core module.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDF_URI
private static final java.lang.String RDF_URI
- See Also:
- Constant Field Values
TAXO_URI
private static final java.lang.String TAXO_URI
- See Also:
- Constant Field Values
DC_NS
private static final org.jdom.Namespace DC_NS
RDF_NS
private static final org.jdom.Namespace RDF_NS
TAXO_NS
private static final org.jdom.Namespace TAXO_NS
DCModuleParser
public DCModuleParser()
getNamespaceUri
public final java.lang.String getNamespaceUri()
- Description copied from interface:
com.sun.syndication.io.ModuleParser
- Returns the namespace URI this parser handles.
- Specified by:
getNamespaceUri in interface com.sun.syndication.io.ModuleParser
getDCNamespace
private final org.jdom.Namespace getDCNamespace()
getRDFNamespace
private final org.jdom.Namespace getRDFNamespace()
getTaxonomyNamespace
private final org.jdom.Namespace getTaxonomyNamespace()
parse
public com.sun.syndication.feed.module.Module parse(org.jdom.Element dcRoot)
- Parse an element tree and return the module found in it.
- Specified by:
parse in interface com.sun.syndication.io.ModuleParser
getTaxonomy
protected final java.lang.String getTaxonomy(org.jdom.Element desc)
- Utility method to parse a taxonomy from an element.
parseSubjects
protected final java.util.List parseSubjects(java.util.List eList)
- Utility method to parse a list of subjects out of a list of elements.
parseElementList
protected final java.util.List parseElementList(java.util.List eList)
- Utility method to parse a list of strings out of a list of elements.
parseElementListDate
protected final java.util.List parseElementListDate(java.util.List eList)
- Utility method to parse a list of dates out of a list of elements.