|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.perfectjpattern.core.behavioral.visitor.AbstractVisitor<ICarPart> org.perfectjpattern.core.behavioral.visitor.PrintVisitor
public class PrintVisitor
Concrete Visitor implementation that exemplifies the case where your
Visitor can directly extend PerfectJPattern's base reusable
AbstractVisitor
implementation
Constructor Summary | |
---|---|
PrintVisitor()
|
Method Summary | |
---|---|
protected static void |
setLogger(org.slf4j.Logger aLogger)
|
void |
visitBody(Body aBody)
Visit Body |
void |
visitCar(Car aCar)
Visit Car |
void |
visitEngine(Engine anEngine)
Visit Engine |
void |
visitWheel(Wheel aWheel)
Visit Wheel |
Methods inherited from class org.perfectjpattern.core.behavioral.visitor.AbstractVisitor |
---|
reusableVisit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintVisitor()
Method Detail |
---|
public void visitWheel(Wheel aWheel)
aWheel
- public void visitEngine(Engine anEngine)
anEngine
- public void visitBody(Body aBody)
aBody
- public void visitCar(Car aCar)
aCar
- protected static void setLogger(org.slf4j.Logger aLogger)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |