Inheritance diagram for org::jdom::adapters::DOMAdapter:

Public Member Functions | |
| Document | getDocument (File filename, boolean validate) throws IOException, JDOMException |
| Document | getDocument (InputStream in, boolean validate) throws IOException, JDOMException |
| Document | createDocument () throws JDOMException |
| Document | createDocument (DocType doctype) throws JDOMException |
DOMAdapter.
This interface defines wrapper behavior for obtaining a DOM Document object from a DOM parser.
| Document org::jdom::adapters::DOMAdapter::getDocument | ( | File | filename, | |
| boolean | validate | |||
| ) | throws IOException, JDOMException |
This creates a new Document from a given filename by letting a DOM parser handle parsing from the file.
| filename | file 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. |
Implemented in org::jdom::adapters::AbstractDOMAdapter.
| Document org::jdom::adapters::DOMAdapter::getDocument | ( | InputStream | in, | |
| boolean | validate | |||
| ) | throws IOException, JDOMException |
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. |
Implemented in org::jdom::adapters::AbstractDOMAdapter, org::jdom::adapters::CrimsonDOMAdapter, org::jdom::adapters::JAXPDOMAdapter, org::jdom::adapters::OracleV1DOMAdapter, org::jdom::adapters::OracleV2DOMAdapter, org::jdom::adapters::XercesDOMAdapter, and org::jdom::adapters::XML4JDOMAdapter.
| Document org::jdom::adapters::DOMAdapter::createDocument | ( | ) | throws JDOMException |
This creates an empty Document object based on a specific parser implementation.
| JDOMException | when errors occur. |
Implemented in org::jdom::adapters::AbstractDOMAdapter, org::jdom::adapters::CrimsonDOMAdapter, org::jdom::adapters::JAXPDOMAdapter, org::jdom::adapters::OracleV1DOMAdapter, org::jdom::adapters::OracleV2DOMAdapter, org::jdom::adapters::XercesDOMAdapter, and org::jdom::adapters::XML4JDOMAdapter.
| Document org::jdom::adapters::DOMAdapter::createDocument | ( | DocType | doctype | ) | throws JDOMException |
This creates an empty Document object based on a specific parser implementation with the given DOCTYPE.
| doctype | Initial DocType of the document. |
| JDOMException | when errors occur. |
Implemented in org::jdom::adapters::AbstractDOMAdapter.
1.5.1