Class SyModuleGenerator

    • Constructor Detail

      • SyModuleGenerator

        public SyModuleGenerator()
    • 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.
      • generate

        public void generate​(Module module,
                             org.jdom2.Element element)
        Description copied from interface: ModuleGenerator
        Generates and injects module metadata into an XML node (JDOM element).

        Specified by:
        generate in interface ModuleGenerator
        Parameters:
        module - the module to inject into the XML node (JDOM element).
        element - the XML node into which module meta-data will be injected.