Package net.sf.saxon.value
Interface AnyExternalObject
- All Superinterfaces:
GroundedValue
,Item
,Sequence
- All Known Implementing Classes:
Bindery.FailureValue
,MemoFunction.NodeSurrogate
,ObjectValue
,Tuple
An external object is a fourth kind of Item (after nodes, atomic values, and functions):
it acts as a wrapper for a Java object (or, in C#, a .NET object).
This interface deliberately does not use generics, enabling it to be used in the same way both in Java and C#.
-
Method Summary
Modifier and TypeMethodDescriptionGet the item type of the objectGet the Java (or C#) object that is wrapped by thisAnyExternalObject
Methods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, effectiveBooleanValue, materialize
Methods inherited from interface net.sf.saxon.om.Item
atomize, getGenre, getLength, getStringValue, getUnicodeStringValue, head, isStreamed, itemAt, iterate, reduce, subsequence, toShortString
Methods inherited from interface net.sf.saxon.om.Sequence
makeRepeatable
-
Method Details
-
getWrappedObject
Object getWrappedObject()Get the Java (or C#) object that is wrapped by thisAnyExternalObject
- Returns:
- the wrapped object
-
getItemType
Get the item type of the object- Parameters:
th
- the type hierarchy- Returns:
- the item type
-