Class: XML::Parser::SAXDriver::DummyLocator

Inherits:
Object
  • Object
show all
Includes:
SAX::Locator
Defined in:
lib/xml/saxdriver.rb

Instance Method Summary collapse

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

#getColumnNumberObject



165
# File 'lib/xml/saxdriver.rb', line 165

def getColumnNumber; 1 end

#getLineNumberObject



164
# File 'lib/xml/saxdriver.rb', line 164

def getLineNumber; 1 end

#getPublicIdObject



162
# File 'lib/xml/saxdriver.rb', line 162

def getPublicId; nil end

#getSystemIdObject



163
# File 'lib/xml/saxdriver.rb', line 163

def getSystemId; @systemId end