Package net.sf.saxon.value
Interface AnyExternalObject
-
- All Superinterfaces:
GroundedValue
,Item
,Sequence
- All Known Implementing Classes:
Bindery.FailureValue
,MemoFunction.NodeSurrogate
,ObjectValue
,Tuple
public interface AnyExternalObject extends Item
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ItemType
getItemType(TypeHierarchy th)
Get the item type of the objectjava.lang.Object
getWrappedObject()
Get 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 Detail
-
getWrappedObject
java.lang.Object getWrappedObject()
Get the Java (or C#) object that is wrapped by thisAnyExternalObject
- Returns:
- the wrapped object
-
getItemType
ItemType getItemType(TypeHierarchy th)
Get the item type of the object- Parameters:
th
- the type hierarchy- Returns:
- the item type
-
-