Enum Class Binding.Visibility
- All Implemented Interfaces:
Serializable,Comparable<Binding.Visibility>,Constable
- Enclosing class:
Binding
The Visibility parameter controls whether or not binding variables are visible to other binding pair
expressions within the same binding.
Separate
means that a binding expression does not see its own variable nor those of any of the other BindingPair objects in this binding (but if this binding occurs inside another binding, it can see all the variables in the outer binding).-
Previous
means that each binding pair can see the variables in the binding pairs that came before it in the current binding (as well as any variables defined in a parent binding).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Binding.VisibilityReturns the enum constant of this class with the specified name.static Binding.Visibility[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Separate
The binding expression does not see its own variable or any others in the current binding -
Previous
The binding expression does not see its own variable but sees those in the current binding that occur before it
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-