Class XPathContextMinor.LastValue

java.lang.Object
net.sf.saxon.expr.XPathContextMinor.LastValue
Enclosing class:
XPathContextMinor

protected static class XPathContextMinor.LastValue extends Object
Container for cached value of the last() function. This is shared between all context objects that share the same current iterator. Introduced in 9.2 to handle the case where a new context is introduced when the current outputter changes, without changing the current iterator: in this case the cached value was being lost because each call on last() used a different context object.
  • Field Details

    • value

      public final int value
  • Constructor Details

    • LastValue

      public LastValue(int count)