Top Description Constructors Methods
org.dom4j

public abstract Class VisitorSupport

extends Object
implements Visitor
Class Inheritance
All Implemented Interfaces
org.dom4j.Visitor

VisitorSupport is an abstract base class which is useful for implementation inheritence or when using anonymous inner classes to create simple Visitor implementations.
Author
James Strachan
Version
$Revision: 1.6 $

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
visit(Document
is the Document node to visit.
document
)

Implements org.dom4j.Visitor.visit.

Visits the given Document

public void
visit(DocumentType
is the DocumentType node to visit.
documentType
)

Implements org.dom4j.Visitor.visit.

Visits the given DocumentType

public void
visit(Element
is the Element node to visit.
node
)

Implements org.dom4j.Visitor.visit.

Visits the given Element

public void
visit(Attribute
is the Attribute node to visit.
node
)

Implements org.dom4j.Visitor.visit.

Visits the given Attribute

public void
visit(CDATA
is the CDATA node to visit.
node
)

Implements org.dom4j.Visitor.visit.

Visits the given CDATA

public void
visit(Comment
is the Comment node to visit.
node
)

Implements org.dom4j.Visitor.visit.

Visits the given Comment

public void
visit(Entity
is the Entity node to visit.
node
)

Implements org.dom4j.Visitor.visit.

Visits the given Entity

public void
visit(Namespace
is the Namespace node to visit.
namespace
)

Implements org.dom4j.Visitor.visit.

Visits the given Namespace

public void
visit(ProcessingInstruction
is the ProcessingInstruction node to visit.
node
)

Implements org.dom4j.Visitor.visit.

Visits the given ProcessingInstruction

public void
visit(Text
is the Text node to visit.
node
)

Implements org.dom4j.Visitor.visit.

Visits the given Text

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

VisitorSupportback to summary
public VisitorSupport()

Method Detail

visitback to summary
public void visit(Document document)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given Document

Parameters
document:Document

is the Document node to visit.

visitback to summary
public void visit(DocumentType documentType)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given DocumentType

Parameters
documentType:DocumentType

is the DocumentType node to visit.

visitback to summary
public void visit(Element node)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given Element

Parameters
node:Element

is the Element node to visit.

visitback to summary
public void visit(Attribute node)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given Attribute

Parameters
node:Attribute

is the Attribute node to visit.

visitback to summary
public void visit(CDATA node)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given CDATA

Parameters
node:CDATA

is the CDATA node to visit.

visitback to summary
public void visit(Comment node)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given Comment

Parameters
node:Comment

is the Comment node to visit.

visitback to summary
public void visit(Entity node)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given Entity

Parameters
node:Entity

is the Entity node to visit.

visitback to summary
public void visit(Namespace namespace)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given Namespace

Parameters
namespace:Namespace

is the Namespace node to visit.

visitback to summary
public void visit(ProcessingInstruction node)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given ProcessingInstruction

Parameters
node:ProcessingInstruction

is the ProcessingInstruction node to visit.

visitback to summary
public void visit(Text node)

Implements org.dom4j.Visitor.visit.

Doc from org.dom4j.Visitor.visit.

Visits the given Text

Parameters
node:Text

is the Text node to visit.