| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Document | Returns: Document - created DOM Document.Redeclares org. Document object based
on a specific parser implementation.
|
| public Document | Returns: Document - created DOM Document.Initial doctype)DocType of the document.Implements org. Document object based
on a specific parser implementation with the given DOCTYPE.
|
| public Document | Returns: Document - instance ready for use.file to parse. filename, boolean boolean to indicate if validation should occur.Implements org. from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream.
|
| public abstract Document | Returns: Document - instance ready for use.InputStream to parse.boolean to indicate if validation should occur.Redeclares org. from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream.
|
| protected void | setInternalSubset(DocumentType
DocumentType to be altered dt, String String to use as the internal DTD subset s)This attempts to change the DocumentType to have the given internal DTD subset value. |
| CVS_ID | back to summary |
|---|---|
| private static final String CVS_ID | |
| AbstractDOMAdapter | back to summary |
|---|---|
| public AbstractDOMAdapter() | |
| createDocument | back to summary |
|---|---|
| public abstract Document createDocument() throws JDOMException Redeclares org. This creates an empty
| |
| createDocument | back to summary |
|---|---|
| public Document createDocument(DocType doctype) throws JDOMException Implements org. This creates an empty
| |
| getDocument | back to summary |
|---|---|
| public Document getDocument(File filename, boolean validate) throws IOException, JDOMException Implements org. This creates a new
| |
| getDocument | back to summary |
|---|---|
| public abstract Document getDocument(InputStream in, boolean validate) throws IOException, JDOMException Redeclares org. This creates a new
| |
| setInternalSubset | back to summary |
|---|---|
| protected void setInternalSubset(DocumentType dt, String s) This attempts to change the DocumentType to have the given internal DTD subset value. This is not a standard ability in DOM, so it's only available with some parsers. Subclasses can alter the mechanism by which the attempt is made to set the value.
| |