DOMWriter takes a DOM4J tree and outputs it as a W3C DOM
object
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private Class | |
| private static boolean | |
| private NamespaceStack | namespaceStack
stack of |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected String | |
| protected Document | |
| protected Document | |
| protected Document | |
| public Class | |
| protected boolean | |
| protected void | |
| public void | setDomDocumentClass(Class<?>
is the Class implementing the domDocumentClass)org.
interfaceSets the DOM |
| public void | setDomDocumentClassName(String
is the name of the Class implementing the name)org. interfaceSets the DOM |
| public Document | |
| public Document | |
| protected void |
| DEFAULT_DOM_DOCUMENT_CLASSES | back to summary |
|---|---|
| private static final String[] DEFAULT_DOM_DOCUMENT_CLASSES | |
| domDocumentClass | back to summary |
|---|---|
| private Class<?> domDocumentClass | |
| loggedWarning | back to summary |
|---|---|
| private static boolean loggedWarning | |
| namespaceStack | back to summary |
|---|---|
| private NamespaceStack namespaceStack stack of | |
| DOMWriter | back to summary |
|---|---|
| public DOMWriter() | |
| DOMWriter | back to summary |
|---|---|
| public DOMWriter(Class<?> domDocumentClass) | |
| appendDOMTree | back to summary |
|---|---|
| protected void appendDOMTree(Document domDocument, Node domCurrent, List<Node> content) | |
| appendDOMTree | back to summary |
|---|---|
| protected void appendDOMTree(Document domDocument, Node domCurrent, Element element) | |
| appendDOMTree | back to summary |
|---|---|
| protected void appendDOMTree(Document domDocument, Node domCurrent, CDATA cdata) | |
| appendDOMTree | back to summary |
|---|---|
| protected void appendDOMTree(Document domDocument, Node domCurrent, Comment comment) | |
| appendDOMTree | back to summary |
|---|---|
| protected void appendDOMTree(Document domDocument, Node domCurrent, String text) | |
| appendDOMTree | back to summary |
|---|---|
| protected void appendDOMTree(Document domDocument, Node domCurrent, Entity entity) | |
| appendDOMTree | back to summary |
|---|---|
| protected void appendDOMTree(Document domDoc, Node domCurrent, ProcessingInstruction pi) | |
| attributeNameForNamespace | back to summary |
|---|---|
| protected String attributeNameForNamespace(Namespace namespace) | |
| createDomDocument | back to summary |
|---|---|
| protected Document createDomDocument(Document document) throws DocumentException | |
| createDomDocument | back to summary |
|---|---|
| protected Document createDomDocument(Document document, DOMImplementation domImpl) throws DocumentException | |
| createDomDocumentViaJAXP | back to summary |
|---|---|
| protected Document createDomDocumentViaJAXP() throws DocumentException | |
| getDomDocumentClass | back to summary |
|---|---|
| public Class | |
| isNamespaceDeclaration | back to summary |
|---|---|
| protected boolean isNamespaceDeclaration(Namespace ns) | |
| resetNamespaceStack | back to summary |
|---|---|
| protected void resetNamespaceStack() | |
| setDomDocumentClass | back to summary |
|---|---|
| public void setDomDocumentClass(Class<?> domDocumentClass) Sets the DOM
| |
| setDomDocumentClassName | back to summary |
|---|---|
| public void setDomDocumentClassName(String name) throws DocumentException Sets the DOM
| |
| write | back to summary |
|---|---|
| public Document write(Document document) throws DocumentException | |
| write | back to summary |
|---|---|
| public Document write(Document document, DOMImplementation domImpl) throws DocumentException | |
| writeNamespace | back to summary |
|---|---|
| protected void writeNamespace(Element domElement, Namespace namespace) | |