public class OneOrMore<T extends Item> extends SequenceExtent
| Constructor and Description |
|---|
OneOrMore(T[] content)
Create a sequence containing zero or one items
|
| Modifier and Type | Method and Description |
|---|---|
static OneOrMore |
makeOneOrMore(Sequence sequence) |
asIterable, effectiveBooleanValue, fromIterator, getCardinality, getLength, getStringValue, getStringValueCS, head, itemAt, iterate, iterator, makeResidue, makeSequenceExtent, makeSequenceExtent, reduce, reverseIterate, subsequence, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmaterialize, toShortStringmakeRepeatablepublic OneOrMore(T[] content)
content - The content of the sequencepublic static OneOrMore makeOneOrMore(Sequence sequence) throws XPathException
XPathExceptionCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.