Interface Parser

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.w3c.dom.Document create()
      Create a new empty DOM Document object.
      org.w3c.dom.Document parse​(java.net.URL url)
      Parse the specified InputSource.
      org.w3c.dom.Document parse​(org.xml.sax.InputSource in)
      Parse the specified InputSource.
      • Methods inherited from interface org.apache.stylebook.Component

        init
    • Method Detail

      • parse

        org.w3c.dom.Document parse​(org.xml.sax.InputSource in)
                            throws java.io.IOException,
                                   CreationException
        Parse the specified InputSource.
        Parameters:
        in - The InputSource to parse.
        Returns:
        A non-null DOM Document object.
        Throws:
        java.io.IOException - If an I/O error occourred accessing the specified System-ID.
        CreationException - If an error occourred parsing the document.
      • parse

        org.w3c.dom.Document parse​(java.net.URL url)
                            throws java.io.IOException,
                                   CreationException
        Parse the specified InputSource.
        Parameters:
        in - The InputSource to parse.
        Returns:
        A non-null DOM Document object.
        Throws:
        java.io.IOException - If an I/O error occourred accessing the specified System-ID.
        CreationException - If an error occourred parsing the document.
      • create

        org.w3c.dom.Document create()
        Create a new empty DOM Document object.
        Returns:
        A non-null DOM Document object.