Class: XML::DOM::DOMInputSource
- Inherits:
-
Object
- Object
- XML::DOM::DOMInputSource
- Defined in:
- lib/xml/dom2/dominputsource.rb
Instance Method Summary collapse
- #byteStream ⇒ Object
- #byteStream=(stream) ⇒ Object
- #characterStream ⇒ Object
- #characterStream=(stream) ⇒ Object
- #encoding ⇒ Object
- #encoding=(enc) ⇒ Object
-
#initialize ⇒ DOMInputSource
constructor
A new instance of DOMInputSource.
- #publicId ⇒ Object
- #publicId=(pubid) ⇒ Object
- #systemId ⇒ Object
- #systemId=(sysid) ⇒ Object
Constructor Details
#initialize ⇒ DOMInputSource
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
#byteStream ⇒ Object
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 |
#characterStream ⇒ Object
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 |
#encoding ⇒ Object
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 |
#publicId ⇒ Object
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 |
#systemId ⇒ Object
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 |