|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rometools.feed.module.sle.io.ModuleGenerator
public class ModuleGenerator
Constructor Summary | |
---|---|
ModuleGenerator()
Creates a new instance of ModuleGenerator |
Method Summary | |
---|---|
protected void |
addNotNullAttribute(org.jdom.Element target,
String name,
Object value)
|
protected org.jdom.Element |
addNotNullElement(org.jdom.Element target,
String name,
Object value)
|
void |
generate(com.sun.syndication.feed.module.Module module,
org.jdom.Element element)
Generates and injectts module metadata in a XML node (JDOM element). |
protected org.jdom.Element |
generateSimpleElement(String name,
String value)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleGenerator()
Method Detail |
---|
public String getNamespaceUri()
getNamespaceUri
in interface com.sun.syndication.io.ModuleGenerator
public Set getNamespaces()
getNamespaces
in interface com.sun.syndication.io.ModuleGenerator
public void generate(com.sun.syndication.feed.module.Module module, org.jdom.Element element)
generate
in interface com.sun.syndication.io.ModuleGenerator
module
- the module to inject into the XML node (JDOM element).element
- the XML node to inject the module metadata to.protected void addNotNullAttribute(org.jdom.Element target, String name, Object value)
protected org.jdom.Element addNotNullElement(org.jdom.Element target, String name, Object value)
protected org.jdom.Element generateSimpleElement(String name, String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |