|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NodeType>
net.sourceforge.stripes.util.bean.NodeType
public enum NodeType
Enum representing the type of a node in a property expression. The primary purpose of this enumeration is to provide a way to determine which property accessor to use when attempting to get or set a particular node in an expression.
| Enum Constant Summary | |
|---|---|
ArrayEntry
Represents an item stored in a Java array. |
|
BeanProperty
Represents a regular JavaBean property accessed via getter/setter, or Field access. |
|
ListEntry
Represents an entry in a class which implements the java.utilList interface. |
|
MapEntry
Represents an entry in a class which implements the java.util.Map interface. |
|
| Method Summary | |
|---|---|
PropertyAccessor |
getPropertyAccessor()
Returns the PropertyAccessor instance that should be used to access properties of this type. |
static NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeType[] |
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, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NodeType BeanProperty
public static final NodeType MapEntry
public static final NodeType ListEntry
public static final NodeType ArrayEntry
| Method Detail |
|---|
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic PropertyAccessor getPropertyAccessor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||