public class XdmEmptySequence extends XdmValue
This is a singleton class: there is only one instance, which may be obtained
An empty sequence may also be represented by an
XdmValue whose length happens to be zero.
Applications should therefore not test to see whether an object is an instance of this class
in order to decide whether it is empty.
Note: in interfaces that expect an
XdmItem, an empty sequence is represented by a
Java null value.
|Modifier and Type||Method and Description|
Return the singleton instance of this class
Get the number of items in the sequence
append, documentOrder, fromGroundedValue, getUnderlyingValue, isEmpty, itemAt, iterator, makeSequence, makeValue, select, setValue, stream, subsequence, toString, wrap, wrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static XdmEmptySequence getInstance()
Copyright (c) 2004-2021 Saxonica Limited. All rights reserved.