org.rometools.feed.module.sse
Class SSE091Generator

java.lang.Object
  extended by org.rometools.feed.module.sse.SSE091Generator
All Implemented Interfaces:
com.sun.syndication.io.DelegatingModuleGenerator, com.sun.syndication.io.ModuleGenerator

public class SSE091Generator
extends Object
implements com.sun.syndication.io.DelegatingModuleGenerator

Generator for the SSE Module.

Author:
Laird Dornin

Constructor Summary
SSE091Generator()
           
 
Method Summary
 void generate(com.sun.syndication.feed.module.Module module, org.jdom.Element element)
           
protected  void generateSync(Sync sync, org.jdom.Element parent)
           
 Set getNamespaces()
          Returns a set with all the URIs (JDOM Namespace elements) this module generator uses.
 String getNamespaceUri()
           
 void setFeedGenerator(com.sun.syndication.io.WireFeedGenerator feedGenerator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSE091Generator

public SSE091Generator()
Method Detail

setFeedGenerator

public void setFeedGenerator(com.sun.syndication.io.WireFeedGenerator feedGenerator)
Specified by:
setFeedGenerator in interface com.sun.syndication.io.DelegatingModuleGenerator

getNamespaceUri

public String getNamespaceUri()
Specified by:
getNamespaceUri in interface com.sun.syndication.io.ModuleGenerator

getNamespaces

public Set 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:
getNamespaces in interface com.sun.syndication.io.ModuleGenerator
Returns:
a set with all the URIs (JDOM Namespace elements) this module generator uses.

generate

public void generate(com.sun.syndication.feed.module.Module module,
                     org.jdom.Element element)
Specified by:
generate in interface com.sun.syndication.io.ModuleGenerator

generateSync

protected void generateSync(Sync sync,
                            org.jdom.Element parent)


Copyright © 2013 ROME Project. All Rights Reserved.