@Deprecated public class AppModuleGenerator extends java.lang.Object implements ModuleGenerator
Modifier and Type | Field and Description |
---|---|
private static org.jdom2.Namespace |
APP_NS
Deprecated.
|
private static java.util.Set<org.jdom2.Namespace> |
NAMESPACES
Deprecated.
|
Constructor and Description |
---|
AppModuleGenerator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
generate(Module module,
org.jdom2.Element parent)
Deprecated.
Generate JDOM element for module and add it to parent element
|
private org.jdom2.Element |
generateSimpleElement(java.lang.String name,
java.lang.String value)
Deprecated.
|
java.util.Set<org.jdom2.Namespace> |
getNamespaces()
Deprecated.
Get namespaces associated with this module
|
java.lang.String |
getNamespaceUri()
Deprecated.
Returns the namespace URI this generator handles.
|
private static final org.jdom2.Namespace APP_NS
private static final java.util.Set<org.jdom2.Namespace> NAMESPACES
public java.lang.String getNamespaceUri()
ModuleGenerator
getNamespaceUri
in interface ModuleGenerator
public java.util.Set<org.jdom2.Namespace> getNamespaces()
getNamespaces
in interface ModuleGenerator
public void generate(Module module, org.jdom2.Element parent)
generate
in interface ModuleGenerator
module
- the module to inject into the XML node (JDOM element).parent
- the XML node into which module meta-data will be injected.private org.jdom2.Element generateSimpleElement(java.lang.String name, java.lang.String value)