public enum XdmNodeKind extends Enum<XdmNodeKind>
Enum Constant and Description |
---|
ATTRIBUTE |
COMMENT |
DOCUMENT |
ELEMENT |
NAMESPACE |
PROCESSING_INSTRUCTION |
TEXT |
Modifier and Type | Method and Description |
---|---|
protected int |
getNumber() |
static XdmNodeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XdmNodeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XdmNodeKind DOCUMENT
public static final XdmNodeKind ELEMENT
public static final XdmNodeKind ATTRIBUTE
public static final XdmNodeKind TEXT
public static final XdmNodeKind COMMENT
public static final XdmNodeKind PROCESSING_INSTRUCTION
public static final XdmNodeKind NAMESPACE
public static XdmNodeKind[] values()
for (XdmNodeKind c : XdmNodeKind.values()) System.out.println(c);
public static XdmNodeKind 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 nullprotected int getNumber()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.