javax.faces.event

## Class ScopeContext

- java.lang.Object
- - javax.faces.event.ScopeContext

-     public class ScopeContext
      extends Object

  A structure that contains the name of the scope and the scope itself exposed as a `Map<String, Object>`.

  Since:
    2.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScopeContext(String scopeName, Map<String,Object> scope)` Construct this structure with the supplied arguments.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | `getScope()` Return the scope itself, exposed as a `Map`.
    `String` | `getScopeName()` Return the name of this custom scope.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ScopeContext

          public ScopeContext(String scopeName,
                      Map<String,Object> scope)

      Construct this structure with the supplied arguments.

      Parameters:
        `scopeName` - the name of the scope
        `scope` - the scope itself

  - ### Method Detail

    - #### getScopeName

          public String getScopeName()

      Return the name of this custom scope.

    - #### getScope

          public Map<String,Object> getScope()

      Return the scope itself, exposed as a `Map`.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.