Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## nl.tudelft.simulation.dsol.context
Class ContextUtil

    java.lang.Object
      nl.tudelft.simulation.naming.context.ContextUtil
          nl.tudelft.simulation.dsol.context.ContextUtil

public final class ContextUtil
extends nl.tudelft.simulation.naming.context.ContextUtil

ContextUtil provides utility methods to resolve and bind objects to the context based on their experiment dependent path.
(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
  1.0 26.10.2003
Author:
  Peter Jacobs

Method Summary
`static void` | `bindToContext(SimulatorInterface simulator, java.lang.Object object)` binds an object to the context
`static void` | `bindToContext(SimulatorInterface simulator, java.lang.String context, java.lang.Object object)` binds an object to the context
`static void` | `createSubContext(SimulatorInterface simulator, java.lang.String subContext)` creates a subContext in the context
`static void` | `createSubContext(SimulatorInterface simulator, java.lang.String context, java.lang.String subContext)` creates a subContext in the context

Methods inherited from class nl.tudelft.simulation.naming.context.ContextUtil
`resolveKey, unbindFromContext`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### createSubContext

    public static void createSubContext(SimulatorInterface simulator,
                                        java.lang.String subContext)

  creates a subContext in the context

  Parameters:
    `simulator` - the simulator
    `subContext` - the context to create

### createSubContext

    public static void createSubContext(SimulatorInterface simulator,
                                        java.lang.String context,
                                        java.lang.String subContext)

  creates a subContext in the context

  Parameters:
    `simulator` - the simulator
    `context` - the context
    `subContext` - the context to create

### bindToContext

    public static void bindToContext(SimulatorInterface simulator,
                                     java.lang.Object object)

  binds an object to the context

  Parameters:
    `simulator` - the simulator
    `object` - the object

### bindToContext

    public static void bindToContext(SimulatorInterface simulator,
                                     java.lang.String context,
                                     java.lang.Object object)

  binds an object to the context

  Parameters:
    `simulator` - the simulator
    `context` - the context in this tree
    `object` - the object

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.