Class: ExistDB::Resource::Xml

Inherits:
Base
  • Object
show all
Defined in:
lib/existdb/resource/xml.rb

Instance Method Summary collapse

Methods inherited from Base

#delete, #initialize, #inspect, #save

Methods included from ClassWrappingForwardable

#delegate_to_java

Constructor Details

This class inherits a constructor from ExistDB::Resource::Base

Instance Method Details

#compile(*opts) ⇒ Object



9
10
11
# File 'lib/existdb/resource/xml.rb', line 9

def compile(*opts)
    parent.xquery.compile(*opts)
end

#domObject



17
18
19
# File 'lib/existdb/resource/xml.rb', line 17

def dom
    @obj.getContentAsDOM
end

#execute(*opts) ⇒ Object



13
14
15
# File 'lib/existdb/resource/xml.rb', line 13

def execute(*opts)
    parent.xquery.execute(self, *opts)
end

#xquery(*opts) ⇒ Object



5
6
7
# File 'lib/existdb/resource/xml.rb', line 5

def xquery(*opts)
    parent.xquery.query(self, *opts)
end