Class PostureAndSweep

java.lang.Object
com.saxonica.ee.stream.PostureAndSweep

public class PostureAndSweep extends Object
This class defines a composite property of an expression containing both the posture and sweep of the expression, as defined in the XSLT 3.0 specification. The class is immutable.
  • Field Details

    • ROAMING_AND_FREE_RANGING

      public static final PostureAndSweep ROAMING_AND_FREE_RANGING
      Constant value for (posture = roaming, sweep = free-ranging)
    • GROUNDED_AND_MOTIONLESS

      public static final PostureAndSweep GROUNDED_AND_MOTIONLESS
      Constant value for (posture = grounded, sweep = motionless)
    • CLIMBING_AND_MOTIONLESS

      public static final PostureAndSweep CLIMBING_AND_MOTIONLESS
      Constant value for (posture = climbing, sweep = motionless)
  • Constructor Details

    • PostureAndSweep

      public PostureAndSweep(Posture posture, Sweep sweep)
      Create a PostureAndSweep with a given posture and sweep
      Parameters:
      posture - the posture
      sweep - the sweep
  • Method Details

    • getPosture

      public Posture getPosture()
      Get the posture component
      Returns:
      the posture component
    • getSweep

      public Sweep getSweep()
      Get the sweep component
      Returns:
      the sweep component
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object