org.xerial.util.xml
Enum XPathConstants.Axis
java.lang.Object
java.lang.Enum<XPathConstants.Axis>
org.xerial.util.xml.XPathConstants.Axis
- All Implemented Interfaces:
- Serializable, Comparable<XPathConstants.Axis>
- Enclosing class:
- XPathConstants
public static enum XPathConstants.Axis
- extends Enum<XPathConstants.Axis>
Child
public static final XPathConstants.Axis Child
Descendant
public static final XPathConstants.Axis Descendant
Attribute
public static final XPathConstants.Axis Attribute
values
public static XPathConstants.Axis[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (XPathConstants.Axis c : XPathConstants.Axis.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static XPathConstants.Axis valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.