public interface ModuleGenerator
ModuleGenerator instances must thread safe.
TODO: explain how developers can plugin their own implementations.
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).
|
Set<org.jdom2.Namespace> |
getNamespaces()
Returns a set with all the URIs (JDOM Namespace elements) this module generator uses.
|
String |
getNamespaceUri()
Returns the namespace URI this generator handles.
|
String getNamespaceUri()
Set<org.jdom2.Namespace> getNamespaces()
void generate(Module module, org.jdom2.Element element)
module
- the module to inject into the XML node (JDOM element).element
- the XML node into which module meta-data will be injected.Copyright © 2016. All rights reserved.