Package com.saxonica.ee.stream
Enum Posture
- java.lang.Object
-
- java.lang.Enum<Posture>
-
- com.saxonica.ee.stream.Posture
-
- All Implemented Interfaces:
PostureGetter
,java.io.Serializable
,java.lang.Comparable<Posture>
public enum Posture extends java.lang.Enum<Posture> implements PostureGetter
The posture of an expression defines the relationship of the result to a streamed input document, as defined in the XSLT 3.0 specification.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 specificationPosture
getPosture()
boolean
isIncremental()
Test whether this posture is either striding or crawlingjava.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.
-
-
-
Method Detail
-
values
public static Posture[] 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 (Posture c : Posture.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Posture valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getPosture
public Posture getPosture()
- Specified by:
getPosture
in interfacePostureGetter
-
isIncremental
public boolean isIncremental()
Test whether this posture is either striding or crawling- Returns:
- true if this posture is either striding or crawling
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Posture>
-
-