org.javagen.agile.core.visitor
Class EmitterVisitor
java.lang.Object
org.javagen.agile.core.visitor.DefaultVisitor
org.javagen.agile.core.visitor.EmitterVisitor
- All Implemented Interfaces:
- Generator, Visit, Visitor
public class EmitterVisitor
- extends DefaultVisitor
Walks the arbitrary model tree and invokes code generator modules attatched to model nodes.
- Author:
- Richard Easterling
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
binder
protected Binder binder
contextLoader
protected EmitterContextLoader contextLoader
contextHolderStack
protected ContextHolderStack contextHolderStack
EmitterVisitor
public EmitterVisitor()
EmitterVisitor
public EmitterVisitor(Binder binder)
visit
public void visit(Model model)
- Description copied from interface:
Visit
- Called to perform a specific process on a model instance.
- Specified by:
visit in interface Visit- Specified by:
visit in interface Visitor- Overrides:
visit in class DefaultVisitor
- Parameters:
model - instance to visit.
getBinder
public Binder getBinder()
setBinder
public void setBinder(Binder binder)
getContextLoader
public EmitterContextLoader getContextLoader()
setContextLoader
public void setContextLoader(EmitterContextLoader contextLoader)
Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.