public static enum MNode.NodeType extends Enum<MNode.NodeType>
Enum Constant and Description |
---|
CONTENT
The Metadata defines content (Type
MContent ). |
FIELD
The Metadata defines a field (Type
MField ). |
RECORD
The Metadata defines a record (Type
MRecord ). |
Modifier and Type | Method and Description |
---|---|
static MNode.NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MNode.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MNode.NodeType CONTENT
MContent
).public static final MNode.NodeType RECORD
MRecord
).public static final MNode.NodeType FIELD
MField
).public static MNode.NodeType[] values()
for (MNode.NodeType c : MNode.NodeType.values()) System.out.println(c);
public static MNode.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 nameNullPointerException
- if the argument is nullCopyright © 2016 Push Technology Ltd. All Rights Reserved.