com.sun.syndication.io.impl
public class DCModuleParser extends Object implements ModuleParser
| Field Summary | |
|---|---|
| static Namespace | DC_NS |
| static Namespace | RDF_NS |
| static String | RDF_URI |
| static Namespace | TAXO_NS |
| static String | TAXO_URI |
| Method Summary | |
|---|---|
| Namespace | getDCNamespace() |
| String | getNamespaceUri() |
| Namespace | getRDFNamespace() |
| protected String | getTaxonomy(Element desc)
Utility method to parse a taxonomy from an element.
|
| Namespace | getTaxonomyNamespace() |
| Module | parse(Element dcRoot)
Parse an element tree and return the module found in it.
|
| protected List | parseElementList(List eList)
Utility method to parse a list of strings out of a list of elements.
|
| protected List | parseElementListDate(List eList)
Utility method to parse a list of dates out of a list of elements.
|
| protected List | parseSubjects(List eList)
Utility method to parse a list of subjects out of a list of elements.
|
Parameters: desc the taxonomy description element.
Returns: the string contained in the resource of the element.
Parameters: dcRoot the root element containing the module elements.
Returns: the module parsed from the element tree, null if none.
Parameters: eList the list of elements to parse.
Returns: the list of strings
Parameters: eList the list of elements to parse.
Returns: the list of dates.
Parameters: eList the element list to parse.
Returns: a list of subjects parsed from the elements.