Class: Saxon::XDM::ExternalObject

Inherits:
Object
  • Object
show all
Includes:
ItemSequenceLike, SequenceLike
Defined in:
lib/saxon/xdm/external_object.rb

Overview

Represents a Saxon XDM ExternalObject

Instance Method Summary collapse

Methods included from ItemSequenceLike

#sequence_enum, #sequence_size

Methods included from SequenceLike

#append, #sequence_enum, #sequence_size

Constructor Details

#initialize(s9_xdm_external_object) ⇒ ExternalObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ExternalObject.



12
13
14
# File 'lib/saxon/xdm/external_object.rb', line 12

def initialize(s9_xdm_external_object)
  @s9_xdm_external_object = s9_xdm_external_object
end

Instance Method Details

#to_javaObject

The underlying Saxon XdmExternalObject



17
18
19
# File 'lib/saxon/xdm/external_object.rb', line 17

def to_java
  @s9_xdm_external_object
end