public class SyModuleGenerator extends java.lang.Object implements ModuleGenerator
Modifier and Type | Field and Description |
---|---|
private static java.util.Set |
NAMESPACES |
private static org.jdom.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.jdom.Element element)
Generates and injects module metadata into an XML node (JDOM element).
|
java.util.Set |
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.jdom.Namespace SY_NS
private static final java.util.Set NAMESPACES
public java.lang.String getNamespaceUri()
ModuleGenerator
getNamespaceUri
in interface ModuleGenerator
public java.util.Set getNamespaces()
getNamespaces
in interface ModuleGenerator
public void generate(Module module, org.jdom.Element element)
ModuleGenerator
generate
in interface ModuleGenerator
module
- the module to inject into the XML node (JDOM element).element
- the XML node into which module meta-data will be injected.Copyright © Sun Microsystems. All Rights Reserved.