Package org.dom4j
Class VisitorSupport
- java.lang.Object
-
- org.dom4j.VisitorSupport
-
- All Implemented Interfaces:
Visitor
public abstract class VisitorSupport extends Object implements Visitor
VisitorSupportis an abstract base class which is useful for implementation inheritence or when using anonymous inner classes to create simpleVisitorimplementations.- Version:
- $Revision: 1.6 $
- Author:
- James Strachan
-
-
Constructor Summary
Constructors Constructor Description VisitorSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisit(Attribute node)Visits the givenAttributevoidvisit(CDATA node)Visits the givenCDATAvoidvisit(Comment node)Visits the givenCommentvoidvisit(Document document)Visits the givenDocumentvoidvisit(DocumentType documentType)Visits the givenDocumentTypevoidvisit(Element node)Visits the givenElementvoidvisit(Entity node)Visits the givenEntityvoidvisit(Namespace namespace)Visits the givenNamespacevoidvisit(ProcessingInstruction node)Visits the givenProcessingInstructionvoidvisit(Text node)Visits the givenText
-
-
-
Method Detail
-
visit
public void visit(Document document)
Description copied from interface:VisitorVisits the given
Document
-
visit
public void visit(DocumentType documentType)
Description copied from interface:VisitorVisits the given
DocumentType
-
visit
public void visit(Element node)
Description copied from interface:VisitorVisits the given
Element
-
visit
public void visit(Attribute node)
Description copied from interface:VisitorVisits the given
Attribute
-
visit
public void visit(CDATA node)
Description copied from interface:VisitorVisits the given
CDATA
-
visit
public void visit(Comment node)
Description copied from interface:VisitorVisits the given
Comment
-
visit
public void visit(Entity node)
Description copied from interface:VisitorVisits the given
Entity
-
visit
public void visit(Namespace namespace)
Description copied from interface:VisitorVisits the given
Namespace
-
visit
public void visit(ProcessingInstruction node)
Description copied from interface:VisitorVisits the given
ProcessingInstruction
-
-