Interface XMLParser

  • All Known Implementing Classes:
    DocumentContainer, DOMParser, JDOMParser, XMLParser2

    public interface XMLParser
    Common interface for XML parsers. We are not using JAXP because some of the parsers we want to support may not be JAXP compliant.
    Version:
    $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object parseXML​(java.io.InputStream stream)
      Reads the supplied XML file and returns the resulting model, which is not necessarily DOM.
    • Method Detail

      • parseXML

        java.lang.Object parseXML​(java.io.InputStream stream)
        Reads the supplied XML file and returns the resulting model, which is not necessarily DOM.
        Parameters:
        stream - InputStream
        Returns:
        Object