Package net.sf.saxon.ma
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,FunctionItem,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 net.sf.saxon.ma.map.SingleEntryMap
key, value -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.sf.saxon.ma.map.SingleEntryMap
addEntry, conforms, get, getItemType, getKey, getKeyUType, getValue, isEmpty, keys, keyValuePairs, remove, sizeMethods inherited from class net.sf.saxon.ma.map.MapItem
atomize, call, deepEqual40, deepEquals, effectiveBooleanValue, entries, export, getAnnotations, getArity, getDescription, getFunctionItemType, getFunctionName, getGenre, getItemTypeOfSequence, getOperandRoles, getTypedValue, getUnicodeStringValue, isArray, isKnownToConform, isMap, isTrustedResultType, itemAt, makeNewContext, mapToString, toShortStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.om.FunctionItem
isSequenceVariadicMethods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, materializeMethods inherited from interface net.sf.saxon.om.Item
getLength, getStringValue, head, isStreamed, iterate, reduce, subsequenceMethods inherited from interface net.sf.saxon.om.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
Create a parcel- Parameters:
content- the value to be wrapped
-