public enum XdmNodeKind extends java.lang.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(java.lang.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(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 nullprotected int getNumber()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.