Package com.rometools.rome.io.impl
Class SyModuleGenerator
- java.lang.Object
-
- com.rometools.rome.io.impl.SyModuleGenerator
-
- All Implemented Interfaces:
ModuleGenerator
public class SyModuleGenerator extends Object implements ModuleGenerator
Feed Generator for SY ModuleImpl
-
-
Constructor Summary
Constructors Constructor Description SyModuleGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerate(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.StringgetNamespaceUri()Returns the namespace URI this generator handles.
-
-
-
Method Detail
-
getNamespaceUri
public String getNamespaceUri()
Description copied from interface:ModuleGeneratorReturns the namespace URI this generator handles.- Specified by:
getNamespaceUriin interfaceModuleGenerator- Returns:
- the namespace URI.
-
getNamespaces
public Set<org.jdom2.Namespace> getNamespaces()
Returns a set with all the URIs (JDOM Namespace elements) this module generator uses. It is used by the the feed generators to add their namespace definition in the root element of the generated document (forward-missing of Java 5.0 Generics).- Specified by:
getNamespacesin interfaceModuleGenerator- Returns:
- a set with all the URIs (JDOM Namespace elements) this module generator uses.
-
generate
public void generate(Module module, org.jdom2.Element element)
Description copied from interface:ModuleGeneratorGenerates and injects module metadata into an XML node (JDOM element).- Specified by:
generatein interfaceModuleGenerator- Parameters:
module- the module to inject into the XML node (JDOM element).element- the XML node into which module meta-data will be injected.
-
-