dk.brics.xact.wrappers
Class WrapperNodeVisitor

java.lang.Object
  extended by dk.brics.xact.wrappers.WrapperNodeVisitor

public abstract class WrapperNodeVisitor
extends Object

Abstract visitor for wrapper nodes.


Constructor Summary
WrapperNodeVisitor()
          Constructs a new visitor.
 
Method Summary
 void visit(AttributeGapWrapper w)
          Visits an attribute gap node wrapper.
 void visit(AttributeWrapper w)
          Visits an attribute node wrapper.
 void visit(AttrNodeWrapper<? extends AttrNode> w)
          Visits an attribute-like node wrapper.
 void visit(CommentWrapper w)
          Visits a comment node wrapper.
 void visit(ConcreteTempNodeWrapper<?> w)
          Visits a concrete template node wrapper.
 void visit(ElementWrapper w)
          Visits an element node wrapper.
 void visit(ProcessingInstructionWrapper w)
          Visits a processing instruction node wrapper.
 void visit(TemplateGapWrapper w)
          Visits a template gap node wrapper.
 void visit(TempNodeWrapper<? extends TempNode> w)
          Visits a template node wrapper.
 void visit(TextWrapper w)
          Visits a text node wrapper.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapperNodeVisitor

public WrapperNodeVisitor()
Constructs a new visitor.

Method Detail

visit

public void visit(AttributeGapWrapper w)
Visits an attribute gap node wrapper. Default implementation invokes visit(AttrNodeWrapper).


visit

public void visit(AttributeWrapper w)
Visits an attribute node wrapper. Default implementation invokes visit(AttrNodeWrapper).


visit

public void visit(AttrNodeWrapper<? extends AttrNode> w)
Visits an attribute-like node wrapper. Default implementation does nothing.


visit

public void visit(CommentWrapper w)
Visits a comment node wrapper. Default implementation invokes visit(ConcreteTempNodeWrapper).


visit

public void visit(ConcreteTempNodeWrapper<?> w)
Visits a concrete template node wrapper. Default implementation invokes visit(TempNodeWrapper).


visit

public void visit(ElementWrapper w)
Visits an element node wrapper. Default implementation invokes visit(ConcreteTempNodeWrapper).


visit

public void visit(ProcessingInstructionWrapper w)
Visits a processing instruction node wrapper. Default implementation invokes visit(ConcreteTempNodeWrapper).


visit

public void visit(TemplateGapWrapper w)
Visits a template gap node wrapper. Default implementation invokes visit(TempNodeWrapper).


visit

public void visit(TempNodeWrapper<? extends TempNode> w)
Visits a template node wrapper. Default implementation does nothing.


visit

public void visit(TextWrapper w)
Visits a text node wrapper. Default implementation invokes visit(ConcreteTempNodeWrapper).



Copyright © 2005-2011 Aarhus University.