Interface XmlUtils.XmlnsFilteringParser

    • Method Detail

      • parse

        Object parse​(InputSource source)
              throws javax.xml.bind.JAXBException,
                     IllegalArgumentException
        Unmarshal XML data from the specified SAX InputSource and return the resulting content tree.
        Parameters:
        source - the input source to unmarshal XML data from
        Returns:
        the newly created root object of the java content tree
        Throws:
        javax.xml.bind.JAXBException - If any unexpected errors occur while unmarshalling
        IllegalArgumentException - if source is null
      • parse

        Object parse​(URL url)
              throws javax.xml.bind.JAXBException,
                     IllegalArgumentException
        Unmarshal XML data from the specified URL and return the resulting content tree.
        Parameters:
        url - the URL to unmarshal XML data from
        Returns:
        the newly created root object of the java content tree
        Throws:
        javax.xml.bind.JAXBException - If any unexpected errors occur while unmarshalling
        IllegalArgumentException - if url is null or invalid
      • getNamespacePrefixUriMap

        Map<String,​String> getNamespacePrefixUriMap()
        Provides namespace prefix-URI mappings found during last call to parse(InputSource), if namespace prefix-URI collecting is supported. Such mappings may then be used for namespace-aware XPath evaluation (e.g. XACML xpathExpression values)
        Returns:
        namespace prefix-URI mappings; empty if parse(InputSource) not called yet, or namespace prefix-URI collecting is not supported