org.apache.taglibs.rdc.scxml.env
Class RootContext

java.lang.Object
  extended by org.apache.taglibs.rdc.scxml.env.ELContext
      extended by org.apache.taglibs.rdc.scxml.env.RootContext
All Implemented Interfaces:
javax.servlet.jsp.el.VariableResolver, Context

public final class RootContext
extends ELContext

EL Context for root SCXML element. Wrapper around the host JSP context. Must treat variables in the host JSP environments as read-only.

Author:
Rahul Akolkar

Field Summary
 
Fields inherited from class org.apache.taglibs.rdc.scxml.env.ELContext
log, parent, vars
 
Constructor Summary
RootContext(javax.servlet.jsp.JspContext ctx)
          Constructor
 
Method Summary
 java.lang.Object get(java.lang.String name)
          Get the value of the given variable in this Context
 java.util.Iterator iterator()
          Get the Iterator
 
Methods inherited from class org.apache.taglibs.rdc.scxml.env.ELContext
getParent, has, reset, resolveVariable, set, setLocal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootContext

public RootContext(javax.servlet.jsp.JspContext ctx)
Constructor

Parameters:
ctx - the host JspContext
Method Detail

get

public java.lang.Object get(java.lang.String name)
Get the value of the given variable in this Context

Specified by:
get in interface Context
Overrides:
get in class ELContext
Parameters:
name - The name of the variable
Returns:
The value (or null)
See Also:
Context.get(java.lang.String)

iterator

public java.util.Iterator iterator()
Get the Iterator

Specified by:
iterator in interface Context
Overrides:
iterator in class ELContext
Returns:
Local entries iterator (Map.Entry) To get parent entries, call getParent().iterator().
See Also:
Context.iterator()


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.