public abstract class AbstractDOMAdapter extends java.lang.Object implements DOMAdapter
Special attention should be paid to the setInternalSubset protected method, which may, or may not be supported by your actual DOM implementation.
| 构造器和说明 |
|---|
AbstractDOMAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.w3c.dom.Document |
createDocument(DocType doctype)
This creates an empty
Document object based
on a specific parser implementation with the given DOCTYPE. |
createDocumentpublic org.w3c.dom.Document createDocument(DocType doctype) throws JDOMException
Document object based
on a specific parser implementation with the given DOCTYPE.
If the doctype parameter is null, the behavior is the same as
calling createDocument().createDocument 在接口中 DOMAdapterdoctype - Initial DocType of the document.Document - created DOM Document.JDOMException - when errors occur.