org.pm4j.core.pm.impl
Class PmVisitorAdapter

java.lang.Object
  extended by org.pm4j.core.pm.impl.PmVisitorAdapter
All Implemented Interfaces:
PmVisitor
Direct Known Subclasses:
PmContentGetVisitor, PmContentSetVisitor, PmVisitorAddAttributeEventListener, PmVisitorFireEvent, PmVisitorSetToUnchanged, PmVisitorTouchAll

public class PmVisitorAdapter
extends java.lang.Object
implements PmVisitor


Constructor Summary
PmVisitorAdapter()
           
 
Method Summary
protected  void onVisit(PmObject pm)
          Default call back for common PmObject related handling.
protected  void onVisitPmTreeNode(PmTreeNode pm)
          Call back for PmTreeNode related handling.
 void visit(PmAttr<?> attr)
           
 void visit(PmCommand command)
           
 void visit(PmElement element)
           
 void visit(PmLabel label)
           
 void visit(PmObject pm)
          Fallback-callback for other PM types.
 void visit(PmTable table)
           
 void visit(PmTableCol tableCol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmVisitorAdapter

public PmVisitorAdapter()
Method Detail

visit

public void visit(PmAttr<?> attr)
Specified by:
visit in interface PmVisitor

visit

public void visit(PmElement element)
Specified by:
visit in interface PmVisitor

visit

public void visit(PmCommand command)
Specified by:
visit in interface PmVisitor

visit

public void visit(PmLabel label)
Specified by:
visit in interface PmVisitor

visit

public void visit(PmTable table)
Specified by:
visit in interface PmVisitor

visit

public void visit(PmTableCol tableCol)
Specified by:
visit in interface PmVisitor

visit

public void visit(PmObject pm)
Description copied from interface: PmVisitor
Fallback-callback for other PM types.

Specified by:
visit in interface PmVisitor
Parameters:
pm - The visited PM.

onVisit

protected void onVisit(PmObject pm)
Default call back for common PmObject related handling.

Parameters:
pm -

onVisitPmTreeNode

protected void onVisitPmTreeNode(PmTreeNode pm)
Call back for PmTreeNode related handling.

Parameters:
pm -