public static enum NodeFieldAccessor.NodeFieldKind extends Enum<NodeFieldAccessor.NodeFieldKind>
Enum Constant and Description |
---|
CHILD
A field annotated with
Node.Child . |
CHILDREN
A field annotated with
Node.Children . |
DATA
A normal non-child data field of the node.
|
NODE_CLASS
The reference to the
NodeClass . |
PARENT
The single
parent field. |
Modifier and Type | Method and Description |
---|---|
static NodeFieldAccessor.NodeFieldKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeFieldAccessor.NodeFieldKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeFieldAccessor.NodeFieldKind NODE_CLASS
NodeClass
.public static final NodeFieldAccessor.NodeFieldKind PARENT
parent
field.public static final NodeFieldAccessor.NodeFieldKind CHILD
Node.Child
.public static final NodeFieldAccessor.NodeFieldKind CHILDREN
Node.Children
.public static final NodeFieldAccessor.NodeFieldKind DATA
public static NodeFieldAccessor.NodeFieldKind[] values()
public static NodeFieldAccessor.NodeFieldKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null