Serializable
, Comparable<NodeKind>
public enum NodeKind extends Enum<NodeKind>
Enum Constant | Description |
---|---|
ANY |
|
ATTRIBUTE |
|
COMMENT |
|
DOCUMENT |
|
ELEMENT |
|
PI |
|
TEXT |
Modifier and Type | Method | Description |
---|---|---|
static NodeKind |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static NodeKind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeKind ANY
public static final NodeKind ATTRIBUTE
public static final NodeKind COMMENT
public static final NodeKind DOCUMENT
public static final NodeKind ELEMENT
public static final NodeKind PI
public static final NodeKind TEXT
public static NodeKind[] values()
for (NodeKind c : NodeKind.values()) System.out.println(c);
public static NodeKind 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 © 2019 Apache Software Foundation. All rights reserved.