public static enum XPathPatterns.Axis extends Enum<XPathPatterns.Axis>
Enum Constant and Description |
---|
ancestor |
ancestorOrSelf |
attribute |
child |
descendant |
descendantOrSelf |
following |
followingSibling |
parent |
preceding |
precedingSibling |
self |
Modifier and Type | Method and Description |
---|---|
Motif<? extends Node,Node> |
getMotif() |
static XPathPatterns.Axis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XPathPatterns.Axis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPathPatterns.Axis self
public static final XPathPatterns.Axis parent
public static final XPathPatterns.Axis ancestor
public static final XPathPatterns.Axis ancestorOrSelf
public static final XPathPatterns.Axis descendant
public static final XPathPatterns.Axis descendantOrSelf
public static final XPathPatterns.Axis following
public static final XPathPatterns.Axis followingSibling
public static final XPathPatterns.Axis preceding
public static final XPathPatterns.Axis precedingSibling
public static final XPathPatterns.Axis child
public static final XPathPatterns.Axis attribute
public static XPathPatterns.Axis[] values()
for (XPathPatterns.Axis c : XPathPatterns.Axis.values()) System.out.println(c);
public static XPathPatterns.Axis 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 nullsee also the complete user documentation .