galapi
Class ExternalContext

java.lang.Object
  extended bygalapi.Context
      extended bygalapi.ExternalContext

public class ExternalContext
extends Context

The ExternalContext includes an optional value for the context item (known as ".") and a list of variable name, ItemList value pairs.


Field Summary
 
Fields inherited from class galapi.Context
item
 
Constructor Summary
ExternalContext()
           
ExternalContext(ProcessingContext pc, ItemList ctxt_item, ItemList tz_item, NameValuePair[] vars)
           
 
Method Summary
protected static int defaultExternalContext()
           
protected static int externalContextToItem(int pc, int ci, int tz, java.lang.String[] vars, int[] values)
           
 
Methods inherited from class galapi.Context
finalize, getNativeItem, nativeFree, setItem
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalContext

public ExternalContext(ProcessingContext pc,
                       ItemList ctxt_item,
                       ItemList tz_item,
                       NameValuePair[] vars)
                throws GalapiException
Parameters:
ctxt_item - is the context item (.).
tz_item - is the local time zone
vars - are bindings from variable names to their value

ExternalContext

public ExternalContext()
                throws GalapiException
Method Detail

externalContextToItem

protected static int externalContextToItem(int pc,
                                           int ci,
                                           int tz,
                                           java.lang.String[] vars,
                                           int[] values)

defaultExternalContext

protected static int defaultExternalContext()