public class AppModuleGenerator extends Object implements ModuleGenerator
Constructor and Description |
---|
AppModuleGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generate(Module module,
org.jdom2.Element parent)
Generate JDOM element for module and add it to parent element
|
Set<org.jdom2.Namespace> |
getNamespaces()
Get namespaces associated with this module
|
String |
getNamespaceUri()
Returns the namespace URI this generator handles.
|
public String getNamespaceUri()
ModuleGenerator
getNamespaceUri
in interface ModuleGenerator
public 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.Copyright © 2017. All rights reserved.