Class: XML::DOM::DOMInputSource

Inherits:
Object
  • Object
show all
Defined in:
lib/xml/dom2/dominputsource.rb

Instance Method Summary collapse

Constructor Details

#initializeDOMInputSource

Returns a new instance of DOMInputSource.



9
10
11
12
13
14
15
# File 'lib/xml/dom2/dominputsource.rb', line 9

def initialize
  @bstream = nil
  @cstream = nil
  @encoding = nil
  @pubid = nil
  @sysid = nil
end

Instance Method Details

#byteStreamObject



17
# File 'lib/xml/dom2/dominputsource.rb', line 17

def byteStream; @bstream; end

#byteStream=(stream) ⇒ Object



18
# File 'lib/xml/dom2/dominputsource.rb', line 18

def byteStream=(stream); @bstream = stream; end

#characterStreamObject



19
# File 'lib/xml/dom2/dominputsource.rb', line 19

def characterStream; @cstream;  end

#characterStream=(stream) ⇒ Object



20
# File 'lib/xml/dom2/dominputsource.rb', line 20

def characterStream=(stream); @cstream = stream; end

#encodingObject



21
# File 'lib/xml/dom2/dominputsource.rb', line 21

def encoding; @encoding; end

#encoding=(enc) ⇒ Object



22
# File 'lib/xml/dom2/dominputsource.rb', line 22

def encoding=(enc);@encoding = enc; end

#publicIdObject



23
# File 'lib/xml/dom2/dominputsource.rb', line 23

def publicId; @pubid; end

#publicId=(pubid) ⇒ Object



24
# File 'lib/xml/dom2/dominputsource.rb', line 24

def publicId=(pubid); @pubid = pubid; end

#systemIdObject



25
# File 'lib/xml/dom2/dominputsource.rb', line 25

def systemId; @sysid; end

#systemId=(sysid) ⇒ Object



26
# File 'lib/xml/dom2/dominputsource.rb', line 26

def systemId=(sysid); @sysid = sysid; end