Class OpenSearchModuleGenerator

    • Constructor Detail

      • OpenSearchModuleGenerator

        public OpenSearchModuleGenerator()
    • Method Detail

      • 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:
        getNamespaces in interface ModuleGenerator
        Returns:
        a set with all the URIs (JDOM Namespace elements) this module generator uses.
      • generateQueryElement

        protected org.jdom2.Element generateQueryElement​(OSQuery query)
      • generateLinkElement

        protected org.jdom2.Element generateLinkElement​(Link link)
      • generateSimpleElement

        protected org.jdom2.Element generateSimpleElement​(String name,
                                                          String value)