Main Page   Packages   Namespace List   Class Hierarchy   Compound List   Compound Members  

JAXPDOMAdapter Class Reference

Inheritance diagram for JAXPDOMAdapter::

AbstractDOMAdapter DOMAdapter List of all members.

Public Methods

Document getDocument (InputStream in, boolean validate) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException
Document createDocument () throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException

Detailed Description

JAXPDOMAdapater

This class defines wrapper behavior for obtaining a DOM Document object using the JAXP APIs.

Author:
Jason Hunter
Version:
Revision:
1.5
,
Date:
2002/01/08 09:17:10


Member Function Documentation

Document JAXPDOMAdapter::createDocument   [inline, virtual]
 

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

Returns:
Document - created DOM Document.

Reimplemented from AbstractDOMAdapter.

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

This creates a new Document from an existing InputStream by letting a JAXP 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.

Reimplemented from AbstractDOMAdapter.


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