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

    Modifier and Type
    Method
    Description
    Reads the supplied XML file and returns the resulting model, which is not necessarily DOM.
  • Method Details

    • parseXML

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