public enum Posture extends java.lang.Enum<Posture> implements PostureGetter
Enum Constant and Description |
---|
CLIMBING |
CRAWLING |
GROUNDED |
ROAMING |
STRIDING |
Modifier and Type | Method and Description |
---|---|
static Posture |
combinedPosture(java.util.Set<Posture> postures)
Get the combined posture of a set of postures, as defined in the XSLT 3.0 specification
|
Posture |
getPosture() |
boolean |
isIncremental()
Test whether this posture is either striding or crawling
|
java.lang.String |
toString() |
static Posture |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Posture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Posture GROUNDED
public static final Posture CLIMBING
public static final Posture STRIDING
public static final Posture CRAWLING
public static final Posture ROAMING
public static Posture[] values()
for (Posture c : Posture.values()) System.out.println(c);
public static Posture 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 nullpublic Posture getPosture()
getPosture
in interface PostureGetter
public boolean isIncremental()
public java.lang.String toString()
toString
in class java.lang.Enum<Posture>
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.