Main Page   Packages   Namespace List   Class Hierarchy   Compound List   Compound Members  

ProjectXDOMAdapter Class Reference

Inheritance diagram for ProjectXDOMAdapter::

AbstractDOMAdapter DOMAdapter List of all members.

Public Methods

Document getDocument (InputStream in, boolean validate) throws IOException
Document createDocument () throws IOException

Detailed Description

ProjectXDOMAdapater

This class defines wrapper behavior for obtaining a DOM Document object from a Sun Project X DOM parser.

Author:
Brett McLaughlin , Jason Hunter
Version:
Revision:
1.11
,
Date:
2002/01/08 09:17:10


Member Function Documentation

Document ProjectXDOMAdapter::createDocument   [inline, virtual]
 

This creates an empty Document object based on a specific parser implementation.

Returns:
Document - created DOM Document.
Exceptions:
IOException  when errors occur.

Reimplemented from AbstractDOMAdapter.

Document ProjectXDOMAdapter::getDocument InputStream    in,
boolean    validate
[inline, virtual]
 

This creates a new Document from an existing InputStream by letting a DOM parser handle parsing using the supplied stream.

Parameters:
in  InputStream to parse.
validate  boolean to indicate if validation should occur.
Returns:
Document - instance ready for use.
Exceptions:
IOException  when errors occur in parsing.

Reimplemented from AbstractDOMAdapter.


The documentation for this class was generated from the following file:
Generated on Sat Mar 30 18:53:04 2002 for JDOM by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001