Top Description Fields Constructors Methods
com.sun.tools.rngom.digested

pack-priv Class DOMPrinter

extends Object
Class Inheritance
Imports
org.w3c.dom.Attr, .CDATASection, .Comment, .Document, .DocumentFragment, .Element, .EntityReference, .NamedNodeMap, .Node, .NodeList, .ProcessingInstruction, .Text, javax.xml.stream.XMLStreamException, .XMLStreamWriter

Printer of DOM to XML using StAX XMLStreamWriter.
Author
Alexey Demakov

Field Summary

Modifier and TypeField and Description
protected XMLStreamWriter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

outback to summary
protected XMLStreamWriter out

Constructor Detail

DOMPrinterback to summary
public DOMPrinter(XMLStreamWriter out)

Method Detail

visitAttrback to summary
protected void visitAttr(Attr node) throws XMLStreamException
visitCDATASectionback to summary
protected void visitCDATASection(CDATASection cdata) throws XMLStreamException
visitChildrenback to summary
protected void visitChildren(Node node) throws XMLStreamException
visitCommentback to summary
protected void visitComment(Comment comment) throws XMLStreamException
visitDocumentback to summary
protected void visitDocument(Document document) throws XMLStreamException
visitDocumentFragmentback to summary
protected void visitDocumentFragment(DocumentFragment documentFragment) throws XMLStreamException
visitElementback to summary
protected void visitElement(Element node) throws XMLStreamException
visitProcessingInstructionback to summary
protected void visitProcessingInstruction(ProcessingInstruction processingInstruction) throws XMLStreamException
visitReferenceback to summary
protected void visitReference(EntityReference entityReference) throws XMLStreamException
visitTextback to summary
protected void visitText(Text node) throws XMLStreamException