com.sun.syndication.feed.module.opensearch.impl
Class OpenSearchModuleGenerator
java.lang.Object
com.sun.syndication.feed.module.opensearch.impl.OpenSearchModuleGenerator
- All Implemented Interfaces:
- com.sun.syndication.io.ModuleGenerator
public class OpenSearchModuleGenerator
- extends java.lang.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 java.lang.String getNamespaceUri()
- Specified by:
getNamespaceUri
in interface com.sun.syndication.io.ModuleGenerator
getNamespaces
public java.util.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
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(java.lang.String name,
java.lang.String value)
Copyright © 2006-2009. All Rights Reserved.