Class WinOpenSearchGenerator

  • All Implemented Interfaces:
    com.sun.syndication.io.ModuleGenerator

    public class WinOpenSearchGenerator
    extends java.lang.Object
    implements com.sun.syndication.io.ModuleGenerator
    The WinOpenSearchGenerator for the WinOpenSearchModule.
    Author:
    sts
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generate​(com.sun.syndication.feed.module.Module module, org.jdom.Element element)  
      protected org.jdom.Element generateSimpleElement​(java.lang.String name, java.lang.String value)
      Generates a single element by the given parameters.
      java.util.Set<org.jdom.Namespace> getNamespaces()  
      java.lang.String getNamespaceUri()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WinOpenSearchGenerator

        public WinOpenSearchGenerator()
    • Method Detail

      • 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
      • generateSimpleElement

        protected org.jdom.Element generateSimpleElement​(java.lang.String name,
                                                         java.lang.String value)
        Generates a single element by the given parameters.
        Parameters:
        name - The name of the element.
        value - The value of the element.
        Returns:
        the created element.
      • getNamespaceUri

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

        public java.util.Set<org.jdom.Namespace> getNamespaces()
        Specified by:
        getNamespaces in interface com.sun.syndication.io.ModuleGenerator