org.rometools.feed.module.opensearch.impl
Class OpenSearchModuleGenerator
java.lang.Object
   org.rometools.feed.module.opensearch.impl.OpenSearchModuleGenerator
org.rometools.feed.module.opensearch.impl.OpenSearchModuleGenerator
- All Implemented Interfaces: 
- com.sun.syndication.io.ModuleGenerator
- public class OpenSearchModuleGenerator 
- extends Object- implements com.sun.syndication.io.ModuleGenerator
- Author:
- Michael W. Nassif (enrouteinc@gmail.com)
 OpenSearch implementation of ModuleGenerator
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OpenSearchModuleGenerator
public OpenSearchModuleGenerator()
getNamespaceUri
public String getNamespaceUri()
- 
- Specified by:
- getNamespaceUriin 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:
- getNamespacesin 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:
- generatein interface- com.sun.syndication.io.ModuleGenerator
 
- 
 
generateQueryElement
protected org.jdom.Element generateQueryElement(OSQuery query)
- 
 
- 
 
generateLinkElement
protected org.jdom.Element generateLinkElement(com.sun.syndication.feed.atom.Link link)
- 
 
- 
 
generateSimpleElement
protected org.jdom.Element generateSimpleElement(String name,
                                                 String value)
- 
 
- 
 
Copyright © 2013 ROME Project. All Rights Reserved.