Class ItemParser

    • Constructor Detail

      • ItemParser

        public ItemParser()
    • Method Detail

      • getNamespaceUri

        public String getNamespaceUri()
        Returns the namespace URI this parser handles.

        Specified by:
        getNamespaceUri in interface ModuleParser
        Returns:
        the namespace URI.
      • parse

        public Module parse​(org.jdom2.Element element,
                            Locale locale)
        Parses the XML node (JDOM element) extracting module information.

        Specified by:
        parse in interface ModuleParser
        Parameters:
        element - the XML node (JDOM element) to extract module information from.
        Returns:
        a module instance, null if the element did not have module information.