| Modifier and Type | Field and Description |
|---|---|
| private static final Namespace | |
| private static final String | |
| private static final Set | |
| private static final Namespace | |
| private static final String | |
| private static final Namespace | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | generate(final Module
the module to populate from. module, final Element the root element to attach child elements to. element)Implements com. |
| protected final Element | Returns: the element generated.the name of the elment to generate. name, final String the value of the text in the element. value)Utility method to generate a single element containing a string. |
| protected final List | Returns: a list of Elements created.the name of the element list to generate. name, final List<String> the list of values for the elements. values)Utility method to generate a list of simple elements. |
| protected final Element | Returns: the element for the subject.the subject to generate an element for. subject)Utility method to generate an element for a subject. |
| private final Namespace | |
| public final Set | Returns: a set with all the URIs this module generator uses.Implements com. |
| public final String | getNamespaceUri()
Implements com. |
| private final Namespace | |
| private final Namespace |
| DC_NS | back to summary |
|---|---|
| private static final Namespace DC_NS | |
| DC_URI | back to summary |
|---|---|
| private static final String DC_URI | |
| NAMESPACES | back to summary |
|---|---|
| private static final Set<Namespace> NAMESPACES | |
| RDF_NS | back to summary |
|---|---|
| private static final Namespace RDF_NS | |
| RDF_URI | back to summary |
|---|---|
| private static final String RDF_URI | |
| TAXO_NS | back to summary |
|---|---|
| private static final Namespace TAXO_NS | |
| TAXO_URI | back to summary |
|---|---|
| private static final String TAXO_URI | |
| DCModuleGenerator | back to summary |
|---|---|
| public DCModuleGenerator() | |
| generate | back to summary |
|---|---|
| public final void generate(final Module module, final Element element) Implements com. Populate an element tree with elements for a module.
| |
| generateSimpleElement | back to summary |
|---|---|
| protected final Element generateSimpleElement(final String name, final String value) Utility method to generate a single element containing a string.
| |
| generateSimpleElementList | back to summary |
|---|---|
| protected final List Utility method to generate a list of simple elements.
| |
| generateSubjectElement | back to summary |
|---|---|
| protected final Element generateSubjectElement(final DCSubject subject) Utility method to generate an element for a subject.
| |
| getDCNamespace | back to summary |
|---|---|
| private final Namespace getDCNamespace() | |
| getNamespaces | back to summary |
|---|---|
| public final Set Implements com. Returns a set with all the URIs (JDOM Namespace elements) this module generator uses. It is used by the the feed generators to add their namespace definition in the root element of the generated document (forward-missing of Java 5.0 Generics).
| |
| getNamespaceUri | back to summary |
|---|---|
| public final String getNamespaceUri() Implements com. Doc from com. Returns the namespace URI this generator handles.
| |
| getRDFNamespace | back to summary |
|---|---|
| private final Namespace getRDFNamespace() | |
| getTaxonomyNamespace | back to summary |
|---|---|
| private final Namespace getTaxonomyNamespace() | |