Interface Parser

All Superinterfaces:
Component
All Known Implementing Classes:
AbstractParser, CachingParser, XercesParser

public interface Parser extends Component
Version:
CVS $Revision: 313202 $ $Date: 1999-11-30 13:28:55 +0100 (Tue, 30 Nov 1999) $
Author:
Pierpaolo Fumagalli, Copyright 1999 © The Apache Software Foundation. All rights reserved.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a new empty DOM Document object.
    parse(URL url)
    Parse the specified InputSource.
    Parse the specified InputSource.

    Methods inherited from interface org.apache.stylebook.Component

    init
  • Method Details

    • parse

      Parse the specified InputSource.
      Parameters:
      in - The InputSource to parse.
      Returns:
      A non-null DOM Document object.
      Throws:
      IOException - If an I/O error occourred accessing the specified System-ID.
      CreationException - If an error occourred parsing the document.
    • parse

      Parse the specified InputSource.
      Parameters:
      in - The InputSource to parse.
      Returns:
      A non-null DOM Document object.
      Throws:
      IOException - If an I/O error occourred accessing the specified System-ID.
      CreationException - If an error occourred parsing the document.
    • create

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