class DOMPrinter
extends java.lang.Object
XMLStreamWriter.| Modifier and Type | Field and Description |
|---|---|
protected javax.xml.stream.XMLStreamWriter |
out |
| Constructor and Description |
|---|
DOMPrinter(javax.xml.stream.XMLStreamWriter out) |
| Modifier and Type | Method and Description |
|---|---|
void |
print(org.w3c.dom.Node node) |
protected void |
visitAttr(org.w3c.dom.Attr node) |
protected void |
visitCDATASection(org.w3c.dom.CDATASection cdata) |
protected void |
visitChildren(org.w3c.dom.Node node) |
protected void |
visitComment(org.w3c.dom.Comment comment) |
protected void |
visitDocument(org.w3c.dom.Document document) |
protected void |
visitDocumentFragment(org.w3c.dom.DocumentFragment documentFragment) |
protected void |
visitElement(org.w3c.dom.Element node) |
protected void |
visitProcessingInstruction(org.w3c.dom.ProcessingInstruction processingInstruction) |
protected void |
visitReference(org.w3c.dom.EntityReference entityReference) |
protected void |
visitText(org.w3c.dom.Text node) |
public void print(org.w3c.dom.Node node)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitChildren(org.w3c.dom.Node node)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitDocument(org.w3c.dom.Document document)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitDocumentFragment(org.w3c.dom.DocumentFragment documentFragment)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitElement(org.w3c.dom.Element node)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitAttr(org.w3c.dom.Attr node)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitComment(org.w3c.dom.Comment comment)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitText(org.w3c.dom.Text node)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitCDATASection(org.w3c.dom.CDATASection cdata)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitProcessingInstruction(org.w3c.dom.ProcessingInstruction processingInstruction)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void visitReference(org.w3c.dom.EntityReference entityReference)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException