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) |
effectiveBooleanValue, getCardinality, getLength, getStringValue, getStringValueCS, head, itemAt, iterate, makeSequenceExtent, makeSequenceExtent, reduce, reverseIterate, subsequence, toString
public OneOrMore(T[] content)
content
- The content of the sequencepublic static OneOrMore makeOneOrMore(Sequence sequence) throws XPathException
XPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.