Package net.sf.saxon.ma
Class Parcel
- All Implemented Interfaces:
GroundedValue,Item,Sequence,AnyExternalObject
A Parcel is a way of wrapping an arbitrary sequence as a single item. It is implemented
as a Java extension object. It is used in particular to wrap the context value when
this is not a single item: this is to avoid disruption to the large amount of Saxon code
that is written to assume the context value will be a single item (which it is most of the
time).
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.sf.saxon.value.ObjectValue
atomize, displayTypeName, effectiveBooleanValue, equals, getGenre, getInterface, getItemType, getObject, getUnicodeStringValue, getWrappedObject, hashCode, toShortStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, materializeMethods inherited from interface net.sf.saxon.om.Item
getLabel, getLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequenceMethods inherited from interface net.sf.saxon.om.Sequence
makeRepeatable
-
Constructor Details
-
Parcel
Create a parcel- Parameters:
content- the value to be wrapped
-
-
Method Details
-
getValue
-