Class com.ibm.xml.parser.NOOPVisitor
java.lang.Object
|
+----com.ibm.xml.parser.NOOPVisitor
- Subclasses:
- MakeDigestVisitor, ToXMLStringVisitor
- public class NOOPVisitor
- extends java.lang.Object
- implements Visitor
NOOPVisitor is a convenience class that implements the Visitor interface without providing
any operation on the various DOM- and XML4J-defined Nodes; other visitors, such as
ToXMLStringVisitor, subclass NOOPVisitor and selectively override these NOOP methods to provide
their function.
- Version:
- Revision: 46 1.3 src/com/ibm/xml/parser/NOOPVisitor.java, xml4jsrc, xml4j-jtcsv, xml4j_1_0_4
- See Also:
- ToXMLStringVisitor, Visitor, TreeTraversal, NonRecursivePreorderTreeTraversal
Method Summary
|
void
|
visitAttDefPost(AttDef attDef)
Subclass this method to receive control when the end of
an AttDef Node is recognized when traversing the document object tree.
|
void
|
visitAttDefPre(AttDef attDef)
Subclass this method to receive control when the start of
an AttDef Node is recognized when traversing the document object tree.
|
void
|
visitAttlistPost(Attlist attlist)
Subclass this method to receive control when the end of
an Attlist Node is recognized when traversing the document object tree.
|
void
|
visitAttlistPre(Attlist attlist)
Subclass this method to receive control when the start of
an Attlist Node is recognized when traversing the document object tree.
|
void
|
visitAttributePost(TXAttribute attribute)
Subclass this method to receive control when the end of
a TXAttribute Node is recognized when traversing the document object tree.
|
void
|
visitAttributePre(TXAttribute attribute)
Subclass this method to receive control when the start of
a TXAttribute Node is recognized when traversing the document object tree.
|
void
|
visitCommentPost(TXComment comment)
Subclass this method to receive control when the end of
a TXComment Node is recognized when traversing the document object tree.
|
void
|
visitCommentPre(TXComment comment)
Subclass this method to receive control when the start of
a TXComment Node is recognized when traversing the document object tree.
|
void
|
visitDocumentPost(TXDocument document)
Subclass this method to receive control when the end of
a TXDocument Node is recognized when traversing the document object tree.
|
void
|
visitDocumentPre(TXDocument document)
Subclass this method to receive control when the start of
a TXDocument Node is recognized when traversing the document object tree.
|
void
|
visitDTDPost(DTD dtd)
Subclass this method to receive control when the end of
a DTD Node is recognized when traversing the document object tree.
|
void
|
visitDTDPre(DTD dtd)
Subclass this method to receive control when the start of
a DTD Node is recognized when traversing the document object tree.
|
void
|
visitElementDeclPost(ElementDecl elementDecl)
Subclass this method to receive control when the end of
an ElementDecl Node is recognized when traversing the document object tree.
|
void
|
visitElementDeclPre(ElementDecl elementDecl)
Subclass this method to receive control when the start of
an ElementDecl Node is recognized when traversing the document object tree.
|
void
|
visitElementPost(TXElement element)
Subclass this method to receive control when the end of
a TXElement Node is recognized when traversing the document object tree.
|
void
|
visitElementPre(TXElement element)
Subclass this method to receive control when the start of
a TXElement Node is recognized when traversing the document object tree.
|
void
|
visitEntityPost(Entity entity)
Subclass this method to receive control when the end of
an Entity Node is recognized when traversing the document object tree.
|
void
|
visitEntityPre(Entity entity)
Subclass this method to receive control when the start of
an Entity Node is recognized when traversing the document object tree.
|
void
|
visitGeneralReferencePost(GeneralReference generalReference)
Subclass this method to receive control when the end of
a GeneralReference Node is recognized when traversing the document object tree.
|
void
|
visitGeneralReferencePre(GeneralReference generalReference)
Subclass this method to receive control when the start of
a GeneralReference Node is recognized when traversing the document object tree.
|
void
|
visitNotationPost(TXNotation notation)
Subclass this method to receive control when the end of
a TXNotation Node is recognized when traversing the document object tree.
|
void
|
visitNotationPre(TXNotation notation)
Subclass this method to receive control when the start of
a TXNotation Node is recognized when traversing the document object tree.
|
void
|
visitPIPost(TXPI pi)
Subclass this method to receive control when the end of
a TXPI Node is recognized when traversing the document object tree.
|
void
|
visitPIPre(TXPI pi)
Subclass this method to receive control when the start of
a TXPI Node is recognized when traversing the document object tree.
|
void
|
visitPseudoNodePost(PseudoNode pseudoNode)
Subclass this method to receive control when the end of
a PseudoNode is recognized when traversing the document object tree.
|
void
|
visitPseudoNodePre(PseudoNode pseudoNode)
Subclass this method to receive control when the start of
a PseudoNode is recognized when traversing the document object tree.
|
void
|
visitTextPost(TXText text)
Subclass this method to receive control when the end of
a TXText Node is recognized when traversing the document object tree.
|
void
|
visitTextPre(TXText text)
Subclass this method to receive control when the start of
a TXText Node is recognized when traversing the document object tree.
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOOPVisitor
public NOOPVisitor()
- Constructor.
visitDocumentPre
public void visitDocumentPre(TXDocument document) throws java.lang.Exception
- Subclass this method to receive control when the start of
a TXDocument Node is recognized when traversing the document object tree.
- Implements:
- visitDocumentPre in interface Visitor
- Parameters:
document
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitDocumentPost, TXDocument
visitDocumentPost
public void visitDocumentPost(TXDocument document) throws java.lang.Exception
- Subclass this method to receive control when the end of
a TXDocument Node is recognized when traversing the document object tree.
- Implements:
- visitDocumentPost in interface Visitor
- Parameters:
document
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitDocumentPre, TXDocument
visitElementPre
public void visitElementPre(TXElement element) throws java.lang.Exception
- Subclass this method to receive control when the start of
a TXElement Node is recognized when traversing the document object tree.
- Implements:
- visitElementPre in interface Visitor
- Parameters:
element
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitElementPost, TXElement
visitElementPost
public void visitElementPost(TXElement element) throws java.lang.Exception
- Subclass this method to receive control when the end of
a TXElement Node is recognized when traversing the document object tree.
- Implements:
- visitElementPost in interface Visitor
- Parameters:
element
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitElementPre, TXElement
visitAttributePre
public void visitAttributePre(TXAttribute attribute) throws java.lang.Exception
- Subclass this method to receive control when the start of
a TXAttribute Node is recognized when traversing the document object tree.
- Implements:
- visitAttributePre in interface Visitor
- Parameters:
attribute
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitAttributePost, TXAttribute
visitAttributePost
public void visitAttributePost(TXAttribute attribute) throws java.lang.Exception
- Subclass this method to receive control when the end of
a TXAttribute Node is recognized when traversing the document object tree.
- Implements:
- visitAttributePost in interface Visitor
- Parameters:
attribute
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitAttributePre, TXAttribute
visitPIPre
public void visitPIPre(TXPI pi) throws java.lang.Exception
- Subclass this method to receive control when the start of
a TXPI Node is recognized when traversing the document object tree.
- Implements:
- visitPIPre in interface Visitor
- Parameters:
pi
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitPIPost, TXPI
visitPIPost
public void visitPIPost(TXPI pi) throws java.lang.Exception
- Subclass this method to receive control when the end of
a TXPI Node is recognized when traversing the document object tree.
- Implements:
- visitPIPost in interface Visitor
- Parameters:
pi
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitPIPre, TXPI
visitCommentPre
public void visitCommentPre(TXComment comment) throws java.lang.Exception
- Subclass this method to receive control when the start of
a TXComment Node is recognized when traversing the document object tree.
- Implements:
- visitCommentPre in interface Visitor
- Parameters:
comment
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitCommentPost, TXComment
visitCommentPost
public void visitCommentPost(TXComment comment) throws java.lang.Exception
- Subclass this method to receive control when the end of
a TXComment Node is recognized when traversing the document object tree.
- Implements:
- visitCommentPost in interface Visitor
- Parameters:
comment
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitCommentPre, TXComment
visitTextPre
public void visitTextPre(TXText text) throws java.lang.Exception
- Subclass this method to receive control when the start of
a TXText Node is recognized when traversing the document object tree.
- Implements:
- visitTextPre in interface Visitor
- Parameters:
text
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitTextPost, TXText
visitTextPost
public void visitTextPost(TXText text) throws java.lang.Exception
- Subclass this method to receive control when the end of
a TXText Node is recognized when traversing the document object tree.
- Implements:
- visitTextPost in interface Visitor
- Parameters:
text
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitTextPre, TXText
visitDTDPre
public void visitDTDPre(DTD dtd) throws java.lang.Exception
- Subclass this method to receive control when the start of
a DTD Node is recognized when traversing the document object tree.
- Implements:
- visitDTDPre in interface Visitor
- Parameters:
dtd
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitDTDPost, DTD
visitDTDPost
public void visitDTDPost(DTD dtd) throws java.lang.Exception
- Subclass this method to receive control when the end of
a DTD Node is recognized when traversing the document object tree.
- Implements:
- visitDTDPost in interface Visitor
- Parameters:
dtd
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitDTDPre, DTD
visitElementDeclPre
public void visitElementDeclPre(ElementDecl elementDecl) throws java.lang.Exception
- Subclass this method to receive control when the start of
an ElementDecl Node is recognized when traversing the document object tree.
- Implements:
- visitElementDeclPre in interface Visitor
- Parameters:
elementDecl
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitElementDeclPost, ElementDecl
visitElementDeclPost
public void visitElementDeclPost(ElementDecl elementDecl) throws java.lang.Exception
- Subclass this method to receive control when the end of
an ElementDecl Node is recognized when traversing the document object tree.
- Implements:
- visitElementDeclPost in interface Visitor
- Parameters:
elementDecl
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitElementDeclPre, ElementDecl
visitAttlistPre
public void visitAttlistPre(Attlist attlist) throws java.lang.Exception
- Subclass this method to receive control when the start of
an Attlist Node is recognized when traversing the document object tree.
- Implements:
- visitAttlistPre in interface Visitor
- Parameters:
attlist
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitAttlistPost, Attlist
visitAttlistPost
public void visitAttlistPost(Attlist attlist) throws java.lang.Exception
- Subclass this method to receive control when the end of
an Attlist Node is recognized when traversing the document object tree.
- Implements:
- visitAttlistPost in interface Visitor
- Parameters:
attlist
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitAttlistPre, Attlist
visitAttDefPre
public void visitAttDefPre(AttDef attDef) throws java.lang.Exception
- Subclass this method to receive control when the start of
an AttDef Node is recognized when traversing the document object tree.
- Implements:
- visitAttDefPre in interface Visitor
- Parameters:
attDef
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitAttDefPost, AttDef
visitAttDefPost
public void visitAttDefPost(AttDef attDef) throws java.lang.Exception
- Subclass this method to receive control when the end of
an AttDef Node is recognized when traversing the document object tree.
- Implements:
- visitAttDefPost in interface Visitor
- Parameters:
attDef
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitAttDefPre, AttDef
visitEntityPre
public void visitEntityPre(Entity entity) throws java.lang.Exception
- Subclass this method to receive control when the start of
an Entity Node is recognized when traversing the document object tree.
- Implements:
- visitEntityPre in interface Visitor
- Parameters:
entity
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitEntityPost, Entity
visitEntityPost
public void visitEntityPost(Entity entity) throws java.lang.Exception
- Subclass this method to receive control when the end of
an Entity Node is recognized when traversing the document object tree.
- Implements:
- visitEntityPost in interface Visitor
- Parameters:
entity
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitEntityPre, Entity
visitNotationPre
public void visitNotationPre(TXNotation notation) throws java.lang.Exception
- Subclass this method to receive control when the start of
a TXNotation Node is recognized when traversing the document object tree.
- Implements:
- visitNotationPre in interface Visitor
- Parameters:
notation
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitNotationPost, TXNotation
visitNotationPost
public void visitNotationPost(TXNotation notation) throws java.lang.Exception
- Subclass this method to receive control when the end of
a TXNotation Node is recognized when traversing the document object tree.
- Implements:
- visitNotationPost in interface Visitor
- Parameters:
notation
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitNotationPre, TXNotation
visitGeneralReferencePre
public void visitGeneralReferencePre(GeneralReference generalReference) throws java.lang.Exception
- Subclass this method to receive control when the start of
a GeneralReference Node is recognized when traversing the document object tree.
- Implements:
- visitGeneralReferencePre in interface Visitor
- Parameters:
generalReference
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitGeneralReferencePost, GeneralReference
visitGeneralReferencePost
public void visitGeneralReferencePost(GeneralReference generalReference) throws java.lang.Exception
- Subclass this method to receive control when the end of
a GeneralReference Node is recognized when traversing the document object tree.
- Implements:
- visitGeneralReferencePost in interface Visitor
- Parameters:
generalReference
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitGeneralReferencePre, GeneralReference
visitPseudoNodePre
public void visitPseudoNodePre(PseudoNode pseudoNode) throws java.lang.Exception
- Subclass this method to receive control when the start of
a PseudoNode is recognized when traversing the document object tree.
- Implements:
- visitPseudoNodePre in interface Visitor
- Parameters:
pseudoNode
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitPseudoNodePost, PseudoNode
visitPseudoNodePost
public void visitPseudoNodePost(PseudoNode pseudoNode) throws java.lang.Exception
- Subclass this method to receive control when the end of
a PseudoNode is recognized when traversing the document object tree.
- Implements:
- visitPseudoNodePost in interface Visitor
- Parameters:
pseudoNode
- The Node currently being traversed.
- Throws:
- java.lang.Exception - CURRENTLY NEVER THROWN.
- See Also:
- visitPseudoNodePre, PseudoNode