|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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(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)
All standrd handler methods. |
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. |
abstract void |
handleNode(Node node)
Method that is called for all 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. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public DOMTraversal.NodeHandler()
Method Detail |
public abstract void handleNode(Node node) throws Exception
public void handleDocument(Document document) throws Exception
handleDocument
in interface DOMTraversal.Handler
public void handleDocumentType(DocumentType documentType) throws Exception
DOMTraversal.Handler
handleDocumentType
in interface DOMTraversal.Handler
public void handleDocumentFragment(DocumentFragment documentFragment) throws Exception
DOMTraversal.Handler
handleDocumentFragment
in interface DOMTraversal.Handler
public void handleAttr(Attr attr) throws Exception
DOMTraversal.Handler
handleAttr
in interface DOMTraversal.Handler
public void handleEntity(Entity entity) throws Exception
DOMTraversal.Handler
handleEntity
in interface DOMTraversal.Handler
public void handleEntityReference(EntityReference entityRef) throws Exception
DOMTraversal.Handler
handleEntityReference
in interface DOMTraversal.Handler
public void handleElement(Element element) throws Exception
DOMTraversal.Handler
handleElement
in interface DOMTraversal.Handler
public void handleNotation(Notation notation) throws Exception
DOMTraversal.Handler
handleNotation
in interface DOMTraversal.Handler
public void handleProcessingInstruction(ProcessingInstruction pi) throws Exception
DOMTraversal.Handler
handleProcessingInstruction
in interface DOMTraversal.Handler
public void handleCDATASection(CDATASection cdata) throws Exception
DOMTraversal.Handler
handleCDATASection
in interface DOMTraversal.Handler
public void handleComment(Comment comment) throws Exception
DOMTraversal.Handler
handleComment
in interface DOMTraversal.Handler
public void handleText(Text text) throws Exception
DOMTraversal.Handler
handleText
in interface DOMTraversal.Handler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |