org.javagen.agile.core.context
Class DefaultContextLoader

java.lang.Object
  extended by org.javagen.agile.core.context.DefaultContextLoader
All Implemented Interfaces:
ContextLoader

public class DefaultContextLoader
extends Object
implements ContextLoader

Builds a context by pushing the nodes on a stack from root to leaf so that leaf values take precedence. Also pushes the current model and current models name.

Author:
Richard Easterling

Constructor Summary
DefaultContextLoader()
           
 
Method Summary
 void popAll(ContextHolderStack stack, Model modelTree)
           
static void popModelTreeToRoot(ContextHolderStack stack, Model parent)
           
 void pushAll(ContextHolderStack stack, Model modelTree)
           
static void pushModelTreeFromRoot(ContextHolderStack stack, Model node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultContextLoader

public DefaultContextLoader()
Method Detail

pushAll

public void pushAll(ContextHolderStack stack,
                    Model modelTree)
Specified by:
pushAll in interface ContextLoader

popAll

public void popAll(ContextHolderStack stack,
                   Model modelTree)
Specified by:
popAll in interface ContextLoader

pushModelTreeFromRoot

public static void pushModelTreeFromRoot(ContextHolderStack stack,
                                         Model node)

popModelTreeToRoot

public static void popModelTreeToRoot(ContextHolderStack stack,
                                      Model parent)


Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.