org.w3c.dom.Document object.
Implementing classes map these calls to DOM parser-specific calls, allowing
any third-party parser to be used with JDOM.
| Modifier and Type | Method and Description |
|---|---|
| public Document | Returns: Document - created DOM Document.This creates an empty |
| public Document | Returns: Document - created DOM Document.Initial doctype)DocType of the document.This creates an empty |
| public Document | Returns: Document - instance ready for use.file to parse. filename, boolean boolean to indicate if validation
should occur.This creates a new |
| public Document | Returns: Document - instance ready for use.InputStream to parse.boolean to indicate if validation
should occur.This creates a new |
| createDocument | back to summary |
|---|---|
| public Document createDocument() throws JDOMException This creates an empty
| |
| createDocument | back to summary |
|---|---|
| public Document createDocument(DocType doctype) throws JDOMException This creates an empty
| |
| getDocument | back to summary |
|---|---|
| public Document getDocument(File filename, boolean validate) throws IOException, JDOMException This creates a new
| |
| getDocument | back to summary |
|---|---|
| public Document getDocument(InputStream in, boolean validate) throws IOException, JDOMException This creates a new
| |