Class Parcel
java.lang.Object
net.sf.saxon.ma.map.MapItem
net.sf.saxon.ma.map.SingleEntryMap
net.sf.saxon.ma.Parcel
- All Implemented Interfaces:
Callable, Function, GroundedValue, Item, Sequence
A Parcel is a way of wrapping an arbitrary sequence as a single item. It is implemented
as a single-entry map, the single key being the string "value", and the corresponding
value being the wrapped value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValueThe key of the single entry, that is the string "value"static RecordTestThe type of the singleton map: a record type, effectivelyrecord(value: item()*)Fields inherited from class SingleEntryMap
key, value -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SingleEntryMap
addEntry, conforms, get, getItemType, getKey, getKeyUType, getValue, isEmpty, keys, keyValuePairs, remove, sizeMethods inherited from class MapItem
atomize, call, deepEquals, effectiveBooleanValue, export, getAnnotations, getArity, getDescription, getFunctionItemType, getFunctionName, getGenre, getItemTypeOfSequence, getOperandRoles, getSerialNumber, getTypedValue, getUnicodeStringValue, isArray, isKnownToConform, isMap, isTrustedResultType, itemAt, makeNewContext, mapToString, toShortStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Function
isSequenceVariadicMethods inherited from interface GroundedValue
asIterable, concatenate, containsNode, materializeMethods inherited from interface Item
getLength, getStringValue, head, isStreamed, iterate, reduce, subsequenceMethods inherited from interface Sequence
makeRepeatable
-
Field Details
-
parcelKey
The key of the single entry, that is the string "value" -
TYPE
The type of the singleton map: a record type, effectivelyrecord(value: item()*)
-
-
Constructor Details
-
Parcel
-