org.enhydra.xml.lazydom
Class LazyDOMInfoPrinter
java.lang.Object
|
+--org.enhydra.xml.dom.DOMInfoPrinter
|
+--org.enhydra.xml.lazydom.LazyDOMInfoPrinter
- All Implemented Interfaces:
- DOMTraversal.Handler
- public final class LazyDOMInfoPrinter
- extends DOMInfoPrinter
LazyDOM DOMInfo traversal handler.
Method Summary |
protected boolean |
hasPrintAttributes(Element element)
Determine if an element has attributes that are to be printed, This
overrides the DOMInfoPrinter method and handles switching from instance
to template nodes. |
protected void |
printNodeName(Node node)
Print node name, add template indicator if a template node. |
Methods inherited from class org.enhydra.xml.dom.DOMInfoPrinter |
handleAttr, handleCDATASection, handleComment, handleDocument, handleDocumentFragment, handleDocumentType, handleElement, handleEntity, handleEntityReference, handleNotation, handleProcessingInstruction, handleText, printIndent |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyDOMInfoPrinter
public LazyDOMInfoPrinter(int options,
DOMTraversal traverser,
PrintWriter out)
- Constructor.
printNodeName
protected void printNodeName(Node node)
- Print node name, add template indicator if a template node.
- Overrides:
printNodeName
in class DOMInfoPrinter
hasPrintAttributes
protected boolean hasPrintAttributes(Element element)
- Determine if an element has attributes that are to be printed, This
overrides the DOMInfoPrinter method and handles switching from instance
to template nodes.
- Overrides:
hasPrintAttributes
in class DOMInfoPrinter
Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.