org.javagen.agile.core.emitter.context
Class EmitterLocalContextLoader

java.lang.Object
  extended by org.javagen.agile.core.emitter.context.EmitterContextStackLoader
      extended by 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:

TODO the ooNamingService provides most of the NanoTemplate functionality - can we refactor NanoTemplate out of the templates?

Author:
Richard Easterling

Constructor Summary
EmitterLocalContextLoader()
           
 
Method Summary
 void popAll(ContextHolderStack context, Model modelTree, Emitter emitterContextHolder)
           
 void pushAll(ContextHolderStack context, Model currentModel, Emitter emitterContextHolder)
           
 
Methods inherited from class org.javagen.agile.core.emitter.context.EmitterContextStackLoader
popModelTreeToRoot, pushModelTreeFromRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmitterLocalContextLoader

public EmitterLocalContextLoader()
Method Detail

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.