org.javagen.agile.core.emitter.context
Class EmitterLocalContextLoader
java.lang.Object
org.javagen.agile.core.emitter.context.EmitterContextStackLoader
org.javagen.agile.core.emitter.context.EmitterLocalContextLoader
- All Implemented Interfaces:
- EmitterContextLoader
public class EmitterLocalContextLoader
- extends EmitterContextStackLoader
Adds a local context to the context stack providing a place to put a standard set of
values from the current model, including:
model = the current model instance
modelName = the current model name
nanoTemplate - a NanoTemplate callback instance
TODO the ooNamingService provides most of the NanoTemplate functionality - can we refactor NanoTemplate out of the templates?
- Author:
- Richard Easterling
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmitterLocalContextLoader
public EmitterLocalContextLoader()
pushAll
public void pushAll(ContextHolderStack context,
Model currentModel,
Emitter emitterContextHolder)
- Specified by:
pushAll in interface EmitterContextLoader- Overrides:
pushAll in class EmitterContextStackLoader
popAll
public void popAll(ContextHolderStack context,
Model modelTree,
Emitter emitterContextHolder)
- Specified by:
popAll in interface EmitterContextLoader- Overrides:
popAll in class EmitterContextStackLoader
Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.