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 Details

    • ContextXMLBuilder

      public ContextXMLBuilder(ContextData context)
  • Method Details

    • 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 interface ContextBuilder
      Parameters:
      context -
      Returns:
      the built context.