org.enhydra.xml.dom
Interface DOMTraversal.Handler

All Known Implementing Classes:
BaseDOMFormatter, DOMInfoPrinter, DOMTraversal.NodeHandler
Enclosing interface:
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.

Exception

handleDocumentType

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

Exception

handleDocumentFragment

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

Exception

handleAttr

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

Exception

handleEntity

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

Exception

handleEntityReference

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

Exception

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.

Exception

handleNotation

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

Exception

handleProcessingInstruction

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

Exception

handleCDATASection

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

Exception

handleComment

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

Exception

handleText

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

Exception


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