|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.util.ValueType
public class ValueType
This class provides a typesafe enumeration of value types (see also ValueTypeEvaluator). The ValueTypeEvaluator and the ValueTypes are helper classes for UIComponents which accept value bindings that can be either single objects or a collection of objects (for example, an array). Typically, these components have to process input differently depending on the type of the value object.
ValueTypeEvaluator
Field Summary | |
---|---|
static ValueType |
ARRAY
Indicates that the value binding is an array (of primitives or of objects). |
static ValueType |
INVALID
Indicates that the value binding is invalid. |
static ValueType |
LIST
Indicates that the value binding is assigneable to a java.util.List. |
static ValueType |
NONE
Indicates that no value was specified for the component. |
static ValueType |
OBJECT
Indicates that the value binding is neither an array, nor does it implement java.util.List. |
Method Summary | |
---|---|
java.lang.String |
toString()
Get a String representation of the action |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ValueType ARRAY
public static final ValueType LIST
public static final ValueType OBJECT
public static final ValueType INVALID
public static final ValueType NONE
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |