Package net.sf.saxon.value

## Interface ExternalObject<T>

- Type Parameters:
    `T` - the static class of the wrapped object
  All Superinterfaces:
    `GroundedValue`, `Item`, `Sequence`
  All Known Implementing Classes:
    `ArrayMemberValue`, `Bindery.FailureValue`, `ObjectValue`, `Tuple`

      public interface ExternalObject<T>
      extends Item

  An item that wraps an external (Java or .NET) object

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ItemType` | `getItemType​(TypeHierarchy th)` | Get the item type of the object
    `T` | `getObject()` | Get the wrapped object

    - ### 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, getStringValueCS, head, isStreamed, itemAt, iterate, reduce, subsequence, toShortString`

    - ### Methods inherited from interface net.sf.saxon.om.Sequence

      `makeRepeatable`

- - ### Method Detail

    - #### getObject

          T getObject()

      Get the wrapped object
      Returns:
        the wrapped object. This will never be null.

    - #### getItemType

          ItemType getItemType​(TypeHierarchy th)

      Get the item type of the object
      Returns:
        the item type