public static enum NodeUtil.NodeFieldKind extends java.lang.Enum<NodeUtil.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.
|
PARENT
The single
parent field. |
Modifier and Type | Method and Description |
---|---|
static NodeUtil.NodeFieldKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeUtil.NodeFieldKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeUtil.NodeFieldKind PARENT
parent
field.public static final NodeUtil.NodeFieldKind CHILD
Node.Child
.public static final NodeUtil.NodeFieldKind CHILDREN
Node.Children
.public static final NodeUtil.NodeFieldKind DATA
public static NodeUtil.NodeFieldKind[] values()
for (NodeUtil.NodeFieldKind c : NodeUtil.NodeFieldKind.values()) System.out.println(c);
public static NodeUtil.NodeFieldKind 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 null