WebObjects 5.4.1

com.webobjects.appserver
Enum WOComponentVariable.WOComponentVariableScope

java.lang.Object
  extended by java.lang.Enum<WOComponentVariable.WOComponentVariableScope>
      extended by com.webobjects.appserver.WOComponentVariable.WOComponentVariableScope
All Implemented Interfaces:
Serializable, Comparable<WOComponentVariable.WOComponentVariableScope>
Enclosing class:
WOComponentVariable

public static enum WOComponentVariable.WOComponentVariableScope
extends Enum<WOComponentVariable.WOComponentVariableScope>


Enum Constant Summary
COMPONENT
           
PAGE
           
REQUEST
           
SESSION
           
 
Method Summary
static WOComponentVariable.WOComponentVariableScope valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WOComponentVariable.WOComponentVariableScope[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SESSION

public static final WOComponentVariable.WOComponentVariableScope SESSION

REQUEST

public static final WOComponentVariable.WOComponentVariableScope REQUEST

PAGE

public static final WOComponentVariable.WOComponentVariableScope PAGE

COMPONENT

public static final WOComponentVariable.WOComponentVariableScope COMPONENT
Method Detail

values

public static final WOComponentVariable.WOComponentVariableScope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WOComponentVariable.WOComponentVariableScope c : WOComponentVariable.WOComponentVariableScope.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WOComponentVariable.WOComponentVariableScope valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Last updated Wednesday, January 23, 2008 14:25 PST

Copyright © 2000-2007 Apple Inc.