public final class ShareableSequence extends Value
EMPTY_CLASS_ARRAY, INDETERMINATE_ORDERING
EMPTY_VALUE_ARRAY
?????? |
---|
ShareableSequence(java.util.List list)
Construct an sequence from an array of items.
|
?????? | ????? |
---|---|
boolean |
effectiveBooleanValue()
Get the effective boolean value
|
int |
getCardinality()
Determine the cardinality
|
ItemType |
getItemType(TypeHierarchy th)
Get the (lowest common) item type
|
int |
getLength()
Get the number of items in the sequence
|
java.util.List |
getList()
Get the underlying list
|
boolean |
isShareable()
Determine whether another value can share this list.
|
Item |
itemAt(int n)
Get the n'th item in the sequence (starting with 0 as the first item)
|
SequenceIterator |
iterate()
Return an iterator over this sequence.
|
Value |
reduce()
Reduce a value to its simplest form.
|
Value |
simplify()
Simplify this value
|
asItem, asItem, asIterator, asValue, checkPermittedContents, convertToJava, equals, fromItem, getCanonicalLexicalRepresentation, getIterator, getSchemaComparable, getStringValue, getStringValueCS, iterate, makeQNameValue, process, stringToNumber, toString
public ShareableSequence(java.util.List list)
list
- the list of items to be included in the sequencepublic boolean isShareable()
public java.util.List getList()
public Value simplify()
public Value reduce()
public int getLength()
public int getCardinality()
getCardinality
??? Value
Cardinality
public ItemType getItemType(TypeHierarchy th)
getItemType
??? Value
th
- the type hierarchy cachepublic Item itemAt(int n)
public SequenceIterator iterate()
public boolean effectiveBooleanValue() throws XPathException
effectiveBooleanValue
??? Value
XPathException
- if any dynamic error occurs evaluating the
expression