public enum NodeType extends java.lang.Enum<NodeType>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
PropertyAccessor |
getPropertyAccessor()
Returns the PropertyAccessor instance that should be used to access properties
of this type.
|
static NodeType |
valueOf(java.lang.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.
|
public static final NodeType BeanProperty
public static final NodeType MapEntry
public static final NodeType ListEntry
public static final NodeType ArrayEntry
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic PropertyAccessor getPropertyAccessor()
? Copyright 2005-2006, Stripes Development Team.