public class SyModuleGenerator extends java.lang.Object implements ModuleGenerator
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Set<org.jdom2.Namespace> |
NAMESPACES |
private static org.jdom2.Namespace |
SY_NS |
private static java.lang.String |
SY_URI |
| Constructor and Description |
|---|
SyModuleGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(Module module,
org.jdom2.Element element)
Generates and injects module metadata into an XML node (JDOM element).
|
java.util.Set<org.jdom2.Namespace> |
getNamespaces()
Returns a set with all the URIs (JDOM Namespace elements) this module generator uses.
|
java.lang.String |
getNamespaceUri()
Returns the namespace URI this generator handles.
|
private static final java.lang.String SY_URI
private static final org.jdom2.Namespace SY_NS
private static final java.util.Set<org.jdom2.Namespace> NAMESPACES
public java.lang.String getNamespaceUri()
ModuleGeneratorgetNamespaceUri in interface ModuleGeneratorpublic java.util.Set<org.jdom2.Namespace> getNamespaces()
getNamespaces in interface ModuleGeneratorpublic void generate(Module module, org.jdom2.Element element)
ModuleGeneratorgenerate in interface ModuleGeneratormodule - the module to inject into the XML node (JDOM element).element - the XML node into which module meta-data will be injected.