|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.dom.DOMTraversal.NodeHandler
Implementation of handler that calls a single method for all node types.
Constructor Summary | |
DOMTraversal.NodeHandler()
|
Method Summary | |
void |
handleAttr(org.w3c.dom.Attr attr)
Handler called for Attr nodes. |
void |
handleCDATASection(org.w3c.dom.CDATASection cdata)
Handler called for CDATASection nodes. |
void |
handleComment(org.w3c.dom.Comment comment)
Handler called for Comment nodes. |
void |
handleDocument(org.w3c.dom.Document document)
All standrd handler methods. |
void |
handleDocumentFragment(org.w3c.dom.DocumentFragment documentFragment)
Handler called for DocumentFragment nodes. |
void |
handleDocumentType(org.w3c.dom.DocumentType documentType)
Handler called for DocumentType nodes. |
void |
handleElement(org.w3c.dom.Element element)
Handler called for Element nodes. |
void |
handleEntity(org.w3c.dom.Entity entity)
Handler called for Entity nodes. |
void |
handleEntityReference(org.w3c.dom.EntityReference entityRef)
Handler called for EntityReference nodes. |
abstract void |
handleNode(org.w3c.dom.Node node)
Method that is called for all nodes. |
void |
handleNotation(org.w3c.dom.Notation notation)
Handler called for Notation nodes. |
void |
handleProcessingInstruction(org.w3c.dom.ProcessingInstruction pi)
Handler called for ProcessingInstruction nodes. |
void |
handleText(org.w3c.dom.Text text)
Handler called for Text nodes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMTraversal.NodeHandler()
Method Detail |
public abstract void handleNode(org.w3c.dom.Node node) throws java.lang.Exception
java.lang.Exception
public void handleDocument(org.w3c.dom.Document document) throws java.lang.Exception
handleDocument
in interface DOMTraversal.Handler
java.lang.Exception
public void handleDocumentType(org.w3c.dom.DocumentType documentType) throws java.lang.Exception
DOMTraversal.Handler
handleDocumentType
in interface DOMTraversal.Handler
java.lang.Exception
public void handleDocumentFragment(org.w3c.dom.DocumentFragment documentFragment) throws java.lang.Exception
DOMTraversal.Handler
handleDocumentFragment
in interface DOMTraversal.Handler
java.lang.Exception
public void handleAttr(org.w3c.dom.Attr attr) throws java.lang.Exception
DOMTraversal.Handler
handleAttr
in interface DOMTraversal.Handler
java.lang.Exception
public void handleEntity(org.w3c.dom.Entity entity) throws java.lang.Exception
DOMTraversal.Handler
handleEntity
in interface DOMTraversal.Handler
java.lang.Exception
public void handleEntityReference(org.w3c.dom.EntityReference entityRef) throws java.lang.Exception
DOMTraversal.Handler
handleEntityReference
in interface DOMTraversal.Handler
java.lang.Exception
public void handleElement(org.w3c.dom.Element element) throws java.lang.Exception
DOMTraversal.Handler
handleElement
in interface DOMTraversal.Handler
java.lang.Exception
public void handleNotation(org.w3c.dom.Notation notation) throws java.lang.Exception
DOMTraversal.Handler
handleNotation
in interface DOMTraversal.Handler
java.lang.Exception
public void handleProcessingInstruction(org.w3c.dom.ProcessingInstruction pi) throws java.lang.Exception
DOMTraversal.Handler
handleProcessingInstruction
in interface DOMTraversal.Handler
java.lang.Exception
public void handleCDATASection(org.w3c.dom.CDATASection cdata) throws java.lang.Exception
DOMTraversal.Handler
handleCDATASection
in interface DOMTraversal.Handler
java.lang.Exception
public void handleComment(org.w3c.dom.Comment comment) throws java.lang.Exception
DOMTraversal.Handler
handleComment
in interface DOMTraversal.Handler
java.lang.Exception
public void handleText(org.w3c.dom.Text text) throws java.lang.Exception
DOMTraversal.Handler
handleText
in interface DOMTraversal.Handler
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |