|
XML Parser for Java 1.1.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface of the visitor design pattern which defines the visit operations for each concrete visitor (toXMLString, digest, ...) that can be performed on the DOM- and XML4J-defined Nodes as the document object tree is traversed.
If implementing a visitor, consider subclassing NOOPVisitor in order to avoid implementing all methods defined by this interface.
NOOPVisitor
,
ToXMLStringVisitor
,
FormatPrintVisitor
,
TreeTraversal
,
NonRecursivePreorderTreeTraversal
Method Summary | |
void |
visitAttDefPost(AttDef attDef)
Interface to be implemented for receiving control when the end of an AttDef Node is recognized when traversing the document object tree. |
void |
visitAttDefPre(AttDef attDef)
Interface to be implemented for receiving control when the start of an AttDef Node is recognized when traversing the document object tree. |
void |
visitAttlistPost(Attlist attlist)
Interface to be implemented for receiving control when the end of an Attlist Node is recognized when traversing the document object tree. |
void |
visitAttlistPre(Attlist attlist)
Interface to be implemented for receiving control when the start of an Attlist Node is recognized when traversing the document object tree. |
void |
visitAttributePost(TXAttribute attribute)
Interface to be implemented for receiving control when the endt of a TXAttribute Node is recognized when traversing the document object tree. |
void |
visitAttributePre(TXAttribute attribute)
Interface to be implemented for receiving control when the start of a TXAttribute Node is recognized when traversing the document object tree. |
void |
visitCommentPost(TXComment comment)
Interface to be implemented for receiving control when the end of a TXComment Node is recognized when traversing the document object tree. |
void |
visitCommentPre(TXComment comment)
Interface to be implemented for receiving control when the start of a TXComment Node is recognized when traversing the document object tree. |
void |
visitDocumentFragmentPost(TXDocumentFragment documentFrag)
Interface to be implemented for receiving control when the end of a TXDocumentFragment Node is recognized when traversing the document object tree. |
void |
visitDocumentFragmentPre(TXDocumentFragment documentFrag)
Interface to be implemented for receiving control when the start of a TXDocumentFragment Node is recognized when traversing the document object tree. |
void |
visitDocumentPost(TXDocument document)
Interface to be implemented for receiving control when the end of a TXDocument Node is recognized when traversing the document object tree. |
void |
visitDocumentPre(TXDocument document)
Interface to be implemented for receiving control when the start of a TXDocument Node is recognized when traversing the document object tree. |
void |
visitDTDPost(DTD dtd)
Interface to be implemented for receiving control when the end of a DTD Node is recognized when traversing the document object tree. |
void |
visitDTDPre(DTD dtd)
Interface to be implemented for receiving control when the start of a DTD Node is recognized when traversing the document object tree. |
void |
visitElementDeclPost(ElementDecl elementDecl)
Interface to be implemented for receiving control when the end of an ElementDecl Node is recognized when traversing the document object tree. |
void |
visitElementDeclPre(ElementDecl elementDecl)
Interface to be implemented for receiving control when the start of an ElementDecl Node is recognized when traversing the document object tree. |
void |
visitElementPost(TXElement element)
Interface to be implemented for receiving control when the end of a TXElement Node is recognized when traversing the document object tree. |
void |
visitElementPre(TXElement element)
Interface to be implemented for receiving control when the start of a TXElement Node is recognized when traversing the document object tree. |
void |
visitEntityDeclPost(EntityDecl entityDecl)
Interface to be implemented for receiving control when the end of an EntityDecl Node is recognized when traversing the document object tree. |
void |
visitEntityDeclPre(EntityDecl entityDecl)
Interface to be implemented for receiving control when the start of an EntityDecl Node is recognized when traversing the document object tree. |
void |
visitGeneralReferencePost(GeneralReference generalReference)
Interface to be implemented for receiving control when the end of a GeneralReference Node is recognized when traversing the document object tree. |
void |
visitGeneralReferencePre(GeneralReference generalReference)
Interface to be implemented for receiving control when the start of a GeneralReference Node is recognized when traversing the document object tree. |
void |
visitNotationPost(TXNotation notation)
Interface to be implemented for receiving control when the end of a TXNotation Node is recognized when traversing the document object tree. |
void |
visitNotationPre(TXNotation notation)
Interface to be implemented for receiving control when the start of a TXNotation Node is recognized when traversing the document object tree. |
void |
visitPIPost(TXPI pi)
Interface to be implemented for receiving control when the end of a TXPI Node is recognized when traversing the document object tree. |
void |
visitPIPre(TXPI pi)
Interface to be implemented for receiving control when the start of a TXPI Node is recognized when traversing the document object tree. |
void |
visitPseudoNodePost(PseudoNode pseudoNode)
Interface to be implemented for receiving control when the end of a PseudoNode is recognized when traversing the document object tree. |
void |
visitPseudoNodePre(PseudoNode pseudoNode)
Interface to be implemented for receiving control when the start of a PseudoNode is recognized when traversing the document object tree. |
void |
visitTextPost(TXText text)
Interface to be implemented for receiving control when the end of a TXText Node is recognized when traversing the document object tree. |
void |
visitTextPre(TXText text)
Interface to be implemented for receiving control when the start of a TXText Node is recognized when traversing the document object tree. |
Method Detail |
public void visitDocumentFragmentPre(TXDocumentFragment documentFrag) throws java.lang.Exception
documentFrag
- The Node currently being traversed.visitDocumentFragmentPost(com.ibm.xml.parser.TXDocumentFragment)
,
TXDocumentFragment
,
TreeTraversalException
public void visitDocumentFragmentPost(TXDocumentFragment documentFrag) throws java.lang.Exception
documentFrag
- The Node currently being traversed.visitDocumentFragmentPre(com.ibm.xml.parser.TXDocumentFragment)
,
TXDocumentFragment
,
TreeTraversalException
public void visitDocumentPre(TXDocument document) throws java.lang.Exception
document
- The Node currently being traversed.visitDocumentPost(com.ibm.xml.parser.TXDocument)
,
TXDocument
,
TreeTraversalException
public void visitDocumentPost(TXDocument document) throws java.lang.Exception
document
- The Node currently being traversed.visitDocumentPre(com.ibm.xml.parser.TXDocument)
,
TXDocument
,
TreeTraversalException
public void visitElementPre(TXElement element) throws java.lang.Exception
element
- The Node currently being traversed.visitElementPost(com.ibm.xml.parser.TXElement)
,
TXElement
,
TreeTraversalException
public void visitElementPost(TXElement element) throws java.lang.Exception
element
- The Node currently being traversed.visitElementPre(com.ibm.xml.parser.TXElement)
,
TXElement
,
TreeTraversalException
public void visitAttributePre(TXAttribute attribute) throws java.lang.Exception
attribute
- The Node currently being traversed.visitAttributePost(com.ibm.xml.parser.TXAttribute)
,
TXAttribute
,
TreeTraversalException
public void visitAttributePost(TXAttribute attribute) throws java.lang.Exception
attribute
- The Node currently being traversed.visitAttributePre(com.ibm.xml.parser.TXAttribute)
,
TXAttribute
,
TreeTraversalException
public void visitPIPre(TXPI pi) throws java.lang.Exception
pi
- The Node currently being traversed.visitPIPost(com.ibm.xml.parser.TXPI)
,
TXPI
,
TreeTraversalException
public void visitPIPost(TXPI pi) throws java.lang.Exception
pi
- The Node currently being traversed.visitPIPre(com.ibm.xml.parser.TXPI)
,
TXPI
,
TreeTraversalException
public void visitCommentPre(TXComment comment) throws java.lang.Exception
comment
- The Node currently being traversed.visitCommentPost(com.ibm.xml.parser.TXComment)
,
TXComment
,
TreeTraversalException
public void visitCommentPost(TXComment comment) throws java.lang.Exception
comment
- The Node currently being traversed.visitCommentPre(com.ibm.xml.parser.TXComment)
,
TXComment
,
TreeTraversalException
public void visitTextPre(TXText text) throws java.lang.Exception
text
- The Node currently being traversed.visitTextPost(com.ibm.xml.parser.TXText)
,
TXText
,
TreeTraversalException
public void visitTextPost(TXText text) throws java.lang.Exception
text
- The Node currently being traversed.visitTextPre(com.ibm.xml.parser.TXText)
,
TXText
,
TreeTraversalException
public void visitDTDPre(DTD dtd) throws java.lang.Exception
dtd
- The Node currently being traversed.visitDTDPost(com.ibm.xml.parser.DTD)
,
DTD
,
TreeTraversalException
public void visitDTDPost(DTD dtd) throws java.lang.Exception
dtd
- The Node currently being traversed.visitDTDPre(com.ibm.xml.parser.DTD)
,
DTD
,
TreeTraversalException
public void visitElementDeclPre(ElementDecl elementDecl) throws java.lang.Exception
elementDecl
- The Node currently being traversed.visitElementDeclPost(com.ibm.xml.parser.ElementDecl)
,
ElementDecl
,
TreeTraversalException
public void visitElementDeclPost(ElementDecl elementDecl) throws java.lang.Exception
elementDecl
- The Node currently being traversed.visitElementDeclPre(com.ibm.xml.parser.ElementDecl)
,
ElementDecl
,
TreeTraversalException
public void visitAttlistPre(Attlist attlist) throws java.lang.Exception
attlist
- The Node currently being traversed.visitAttlistPost(com.ibm.xml.parser.Attlist)
,
Attlist
,
TreeTraversalException
public void visitAttlistPost(Attlist attlist) throws java.lang.Exception
attlist
- The Node currently being traversed.visitAttlistPre(com.ibm.xml.parser.Attlist)
,
Attlist
,
TreeTraversalException
public void visitAttDefPre(AttDef attDef) throws java.lang.Exception
attDef
- The Node currently being traversed.visitAttDefPost(com.ibm.xml.parser.AttDef)
,
AttDef
,
TreeTraversalException
public void visitAttDefPost(AttDef attDef) throws java.lang.Exception
attDef
- The Node currently being traversed.visitAttDefPre(com.ibm.xml.parser.AttDef)
,
AttDef
,
TreeTraversalException
public void visitEntityDeclPre(EntityDecl entityDecl) throws java.lang.Exception
entityDecl
- The Node currently being traversed.visitEntityDeclPost(com.ibm.xml.parser.EntityDecl)
,
EntityDecl
,
TreeTraversalException
public void visitEntityDeclPost(EntityDecl entityDecl) throws java.lang.Exception
entityDecl
- The Node currently being traversed.visitEntityDeclPre(com.ibm.xml.parser.EntityDecl)
,
EntityDecl
,
TreeTraversalException
public void visitNotationPre(TXNotation notation) throws java.lang.Exception
notation
- The Node currently being traversed.visitNotationPost(com.ibm.xml.parser.TXNotation)
,
TXNotation
,
TreeTraversalException
public void visitNotationPost(TXNotation notation) throws java.lang.Exception
notation
- The Node currently being traversed.visitNotationPre(com.ibm.xml.parser.TXNotation)
,
TXNotation
,
TreeTraversalException
public void visitGeneralReferencePre(GeneralReference generalReference) throws java.lang.Exception
generalReference
- The Node currently being traversed.visitGeneralReferencePost(com.ibm.xml.parser.GeneralReference)
,
GeneralReference
,
TreeTraversalException
public void visitGeneralReferencePost(GeneralReference generalReference) throws java.lang.Exception
generalReference
- The Node currently being traversed.visitGeneralReferencePre(com.ibm.xml.parser.GeneralReference)
,
GeneralReference
,
TreeTraversalException
public void visitPseudoNodePre(PseudoNode pseudoNode) throws java.lang.Exception
pseudoNode
- The Node currently being traversed.visitPseudoNodePost(com.ibm.xml.parser.PseudoNode)
,
PseudoNode
,
TreeTraversalException
public void visitPseudoNodePost(PseudoNode pseudoNode) throws java.lang.Exception
pseudoNode
- The Node currently being traversed.visitPseudoNodePre(com.ibm.xml.parser.PseudoNode)
,
PseudoNode
,
TreeTraversalException
|
XML Parser for Java 1.1.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |