public interface LastPositionFinder
getLength()method. This method should always be called before calling
getLength(), because an iterator that implements this interface may support use of
getLength()in some situations and not in others
getLength()method can be called to determine the length of the underlying sequence.
supportsGetLength()has been called and has returned true.
UncheckedXPathException- if an error occurs evaluating the sequence in order to determine the number of items
java.lang.ClassCastException- if the capability is not available. (This exception is not guaranteed.)
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.