Class MIContextXMLBuilder
- java.lang.Object
-
- repast.simphony.dataLoader.engine.MIContextXMLBuilder
-
- All Implemented Interfaces:
ContextBuilder<Object>
public class MIContextXMLBuilder extends Object implements ContextBuilder<Object>
ContextBuilder implementation that will delegate the building to a ContextXMLBuilder and then call a ModelInitializer class to complete the build.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description MIContextXMLBuilder(ContextData context, Class<?> initClass, net.sf.cglib.reflect.FastMethod initializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Context<?>
build(Context<Object> context)
Builds and returns a context.
-
-
-
Constructor Detail
-
MIContextXMLBuilder
public MIContextXMLBuilder(ContextData context, Class<?> initClass, net.sf.cglib.reflect.FastMethod initializer)
-
-
Method Detail
-
build
public Context<?> build(Context<Object> context)
Description copied from interface:ContextBuilder
Builds and returns a context. Building a context consists of filling it with agents, adding projections and so forth. The returned context does not necessarily have to be the passed in context.- Specified by:
build
in interfaceContextBuilder<Object>
- Returns:
- the built context.
-
-