org.pm4j.core.pm.serialization
Class PmContentGetVisitor

java.lang.Object
  extended by org.pm4j.core.pm.impl.PmVisitorAdapter
      extended by org.pm4j.core.pm.serialization.PmContentGetVisitor
All Implemented Interfaces:
PmVisitor

public class PmContentGetVisitor
extends PmVisitorAdapter


Field Summary
 PmContentCfg contentCfg
           
 PmContentContainer contentContainer
           
 
Constructor Summary
PmContentGetVisitor()
           
PmContentGetVisitor(PmContentCfg contentCfg)
           
PmContentGetVisitor(PmContentCfg contentCfg, PmContentContainer contentContainer)
           
 
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(PmElement element)
           
 
Methods inherited from class org.pm4j.core.pm.impl.PmVisitorAdapter
visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentContainer

public final PmContentContainer contentContainer

contentCfg

public final PmContentCfg contentCfg
Constructor Detail

PmContentGetVisitor

public PmContentGetVisitor()

PmContentGetVisitor

public PmContentGetVisitor(PmContentCfg contentCfg)

PmContentGetVisitor

public PmContentGetVisitor(PmContentCfg contentCfg,
                           PmContentContainer contentContainer)
Method Detail

visit

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

visit

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

onVisit

protected void onVisit(PmObject pm)
Description copied from class: PmVisitorAdapter
Default call back for common PmObject related handling.

Overrides:
onVisit in class PmVisitorAdapter

onVisitPmTreeNode

protected void onVisitPmTreeNode(PmTreeNode pm)
Description copied from class: PmVisitorAdapter
Call back for PmTreeNode related handling.

Overrides:
onVisitPmTreeNode in class PmVisitorAdapter