dk.brics.xact
Class NodeVisitor

java.lang.Object
  extended by dk.brics.xact.NodeVisitor

public abstract class NodeVisitor
extends Object

Visitor for nodes. All methods are empty unless overridden in a subclass.


Constructor Summary
NodeVisitor()
          Constructs a new visitor.
 
Method Summary
 void visit(Attribute n)
          Visits an attribute node.
 void visit(AttributeGap n)
          Visits an attribute gap node.
 void visit(Comment n)
          Visits a comment node.
 void visit(Element n)
          Visits an element node.
 void visit(NamespaceDecl n)
          Visits an namespace declaration node.
 void visit(ProcessingInstruction n)
          Visits a processing instruction node.
 void visit(TemplateGap n)
          Visits a template gap node.
 void visit(Text n)
          Visits a text node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeVisitor

public NodeVisitor()
Constructs a new visitor.

Method Detail

visit

public void visit(Attribute n)
Visits an attribute node.


visit

public void visit(AttributeGap n)
Visits an attribute gap node.


visit

public void visit(Comment n)
Visits a comment node.


visit

public void visit(Element n)
Visits an element node.


visit

public void visit(NamespaceDecl n)
Visits an namespace declaration node.


visit

public void visit(ProcessingInstruction n)
Visits a processing instruction node.


visit

public void visit(TemplateGap n)
Visits a template gap node.


visit

public void visit(Text n)
Visits a text node.



Copyright © 2005-2011 Aarhus University.