com.sun.syndication.io
public interface ModuleGenerator
ModuleGenerator instances must thread safe.
TODO: explain how developers can plugin their own implementations.
Method Summary | |
---|---|
void | generate(Module module, Element element)
Generates and injects module metadata into an XML node (JDOM element).
|
Set | getNamespaces()
Returns a set with all the URIs (JDOM Namespace elements) this module generator uses.
|
String | getNamespaceUri()
Returns the namespace URI this generator handles.
|
Parameters: module the module to inject into the XML node (JDOM element). element the XML node into which module meta-data will be injected.
Returns: a set with all the URIs (JDOM Namespace elements) this module generator uses.
Returns: the namespace URI.