Inheritance diagram for org::jdom::adapters::XML4JDOMAdapter:
Public Member Functions | |
Document | getDocument (InputStream in, boolean validate) throws IOException, JDOMException |
Document | createDocument () throws JDOMException |
XML4JDOMAdapter
.
This class defines wrapper behavior for obtaining a DOM Document
object from an IBM XML4J DOM parser.
Document org::jdom::adapters::XML4JDOMAdapter::getDocument | ( | InputStream | in, | |
boolean | validate | |||
) | throws IOException, JDOMException [inline, virtual] |
This creates a new Document
from an existing InputStream
by letting a DOM parser handle parsing using the supplied stream.
in | InputStream to parse. | |
validate | boolean to indicate if validation should occur. |
Document
- instance ready for use. IOException | when I/O error occurs. | |
JDOMException | when errors occur in parsing. |
Implements org::jdom::adapters::AbstractDOMAdapter.
Document org::jdom::adapters::XML4JDOMAdapter::createDocument | ( | ) | throws JDOMException [inline, virtual] |
This creates an empty Document
object based on a specific parser implementation.
JDOMException | when errors occur. |
Implements org::jdom::adapters::AbstractDOMAdapter.