org.enhydra.xml.dom
Interface DOMTraversal.Handler

All Known Implementing Classes:
DOMTraversal.NodeHandler, DOMInfoPrinter, BaseDOMFormatter
Enclosing class:
DOMTraversal

public static interface DOMTraversal.Handler

Interface for node callback object.


Method Summary
 void handleAttr(Attr attr)
          Handler called for Attr nodes.
 void handleCDATASection(CDATASection cdata)
          Handler called for CDATASection nodes.
 void handleComment(Comment comment)
          Handler called for Comment nodes.
 void handleDocument(Document document)
          Handler called for Document nodes.
 void handleDocumentFragment(DocumentFragment documentFragment)
          Handler called for DocumentFragment nodes.
 void handleDocumentType(DocumentType documentType)
          Handler called for DocumentType nodes.
 void handleElement(Element element)
          Handler called for Element nodes.
 void handleEntity(Entity entity)
          Handler called for Entity nodes.
 void handleEntityReference(EntityReference entityRef)
          Handler called for EntityReference nodes.
 void handleNotation(Notation notation)
          Handler called for Notation nodes.
 void handleProcessingInstruction(ProcessingInstruction pi)
          Handler called for ProcessingInstruction nodes.
 void handleText(Text text)
          Handler called for Text nodes.
 

Method Detail

handleDocument

public void handleDocument(Document document)
                    throws Exception
Handler called for Document nodes. Call processDocumentType to traverse child nodes. Call processChildren to traverse child nodes.

handleDocumentType

public void handleDocumentType(DocumentType documentType)
                        throws Exception
Handler called for DocumentType nodes. Use processDocumentTypeContents to traverse contain nodes.

handleDocumentFragment

public void handleDocumentFragment(DocumentFragment documentFragment)
                            throws Exception
Handler called for DocumentFragment nodes. Call processChildren to traverse child nodes.

handleAttr

public void handleAttr(Attr attr)
                throws Exception
Handler called for Attr nodes. Call processChildren to traverse child nodes.

handleEntity

public void handleEntity(Entity entity)
                  throws Exception
Handler called for Entity nodes. Call processChildren to traverse child nodes.

handleEntityReference

public void handleEntityReference(EntityReference entityRef)
                           throws Exception
Handler called for EntityReference nodes. Call processChildren to traverse child nodes.

handleElement

public void handleElement(Element element)
                   throws Exception
Handler called for Element nodes. Call processChildren to traverse child nodes. Call processAttributes to traverse attribute nodes.

handleNotation

public void handleNotation(Notation notation)
                    throws Exception
Handler called for Notation nodes.

handleProcessingInstruction

public void handleProcessingInstruction(ProcessingInstruction pi)
                                 throws Exception
Handler called for ProcessingInstruction nodes.

handleCDATASection

public void handleCDATASection(CDATASection cdata)
                        throws Exception
Handler called for CDATASection nodes.

handleComment

public void handleComment(Comment comment)
                   throws Exception
Handler called for Comment nodes.

handleText

public void handleText(Text text)
                throws Exception
Handler called for Text nodes.


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.