Class ContextXMLBuilder
- java.lang.Object
-
- repast.simphony.dataLoader.engine.ContextXMLBuilder
-
- All Implemented Interfaces:
ContextBuilder
public class ContextXMLBuilder extends Object implements ContextBuilder
Builds a context based only the info in an SContext.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description ContextXMLBuilder(ContextData context)
-
-
-
Constructor Detail
-
ContextXMLBuilder
public ContextXMLBuilder(ContextData context)
-
-
Method Detail
-
build
public Context build(Context context)
Builds and returns a context. Building a context consists of filling it with agents, adding projects and so forth. The returned context does not necessarily have to be the passed in context.- Specified by:
build
in interfaceContextBuilder
- Parameters:
context
-- Returns:
- the built context.
-
-