Class: XML::Parser::SAXDriver::DummyLocator
- Inherits:
-
Object
- Object
- XML::Parser::SAXDriver::DummyLocator
- Includes:
- SAX::Locator
- Defined in:
- lib/xml/saxdriver.rb
Instance Method Summary collapse
- #getColumnNumber ⇒ Object
- #getLineNumber ⇒ Object
- #getPublicId ⇒ Object
- #getSystemId ⇒ Object
-
#initialize(systemId) ⇒ DummyLocator
constructor
A new instance of DummyLocator.
Constructor Details
#initialize(systemId) ⇒ DummyLocator
Returns a new instance of DummyLocator.
158 159 160 |
# File 'lib/xml/saxdriver.rb', line 158 def initialize(systemId) @systemId = systemId end |
Instance Method Details
#getColumnNumber ⇒ Object
165 |
# File 'lib/xml/saxdriver.rb', line 165 def getColumnNumber; 1 end |
#getLineNumber ⇒ Object
164 |
# File 'lib/xml/saxdriver.rb', line 164 def getLineNumber; 1 end |
#getPublicId ⇒ Object
162 |
# File 'lib/xml/saxdriver.rb', line 162 def getPublicId; nil end |
#getSystemId ⇒ Object
163 |
# File 'lib/xml/saxdriver.rb', line 163 def getSystemId; @systemId end |