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 StringValue
The key of the single entry, that is the string "value"static RecordTest
The 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, size
Methods 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, toShortString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.saxon.om.FunctionItem
isSequenceVariadic
Methods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, materialize
Methods inherited from interface net.sf.saxon.om.Item
getLength, getStringValue, head, isStreamed, iterate, reduce, subsequence
Methods 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
-