dk.brics.xact
Class AnyNodeVisitor

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

 class AnyNodeVisitor
extends Object

Visitor for nodes, including operation nodes.


Constructor Summary
AnyNodeVisitor()
          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(AttrNode n)
          Visits an attribute-like node.
 void visit(CloseNode n)
          Visits a close operation node.
 void visit(Comment n)
          Visits a comment node.
 void visit(ConcatNode n)
          Visits a concat operation node.
 void visit(Element n)
          Visits an element node.
 void visit(NamespaceDecl n)
          Visits a namespace declaration node.
 void visit(OperationNode n)
          Visits an operation node.
 void visit(PlugListNode n)
          Visits a plug-list operation node.
 void visit(PlugNode n)
          Visits a plug operation node.
 void visit(PlugSingleNode n)
          Visits a plug-single operation node.
 void visit(ProcessingInstruction n)
          Visits a processing instruction node.
 void visit(TemplateGap n)
          Visits a template gap node.
 void visit(TempNode n)
          Visits a template node.
 void visit(Text n)
          Visits a text node.
 void visit(XML n)
          Visits an XML node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnyNodeVisitor

public AnyNodeVisitor()
Constructs a new visitor.

Method Detail

visit

public void visit(Attribute n)
Visits an attribute node. Default implementation invokes visit(AttrNode).


visit

public void visit(AttributeGap n)
Visits an attribute gap node. Default implementation invokes visit(AttrNode).


visit

public void visit(AttrNode n)
Visits an attribute-like node. Default implementation does nothing.


visit

public void visit(CloseNode n)
Visits a close operation node. Default implementation invokes visit(OperationNode).


visit

public void visit(Comment n)
Visits a comment node. Default implementation invokes visit(TempNode).


visit

public void visit(ConcatNode n)
Visits a concat operation node. Default implementation invokes visit(OperationNode).


visit

public void visit(Element n)
Visits an element node. Default implementation invokes visit(TempNode).


visit

public void visit(NamespaceDecl n)
Visits a namespace declaration node. Default implementation does nothing.


visit

public void visit(OperationNode n)
Visits an operation node. Default implementation invokes visit(XML).


visit

public void visit(PlugListNode n)
Visits a plug-list operation node. Default implementation invokes visit(PlugNode).


visit

public void visit(PlugNode n)
Visits a plug operation node. Default implementation invokes visit(OperationNode).


visit

public void visit(PlugSingleNode n)
Visits a plug-single operation node. Default implementation invokes visit(PlugNode).


visit

public void visit(ProcessingInstruction n)
Visits a processing instruction node. Default implementation invokes visit(TempNode).


visit

public void visit(TemplateGap n)
Visits a template gap node. Default implementation invokes visit(TempNode).


visit

public void visit(TempNode n)
Visits a template node. Default implementation invokes visit(XML).


visit

public void visit(Text n)
Visits a text node. Default implementation invokes visit(TempNode).


visit

public void visit(XML n)
Visits an XML node. Default implementation does nothing.



Copyright © 2005-2011 Aarhus University.