# xml.sax.xmlreader.Locator - pydoc - phpman

Help on class Locator in xml.sax.xmlreader:

xml.sax.xmlreader.Locator = class Locator(builtins.object)
 |  Interface for associating a SAX event with a document
 |  location. A locator object will return valid results only during
 |  calls to DocumentHandler methods; at any other time, the
 |  results are unpredictable.
 |
 |  Methods defined here:
 |
 |  getColumnNumber(self)
 |      Return the column number where the current event ends.
 |
 |  getLineNumber(self)
 |      Return the line number where the current event ends.
 |
 |  getPublicId(self)
 |      Return the public identifier for the current event.
 |
 |  getSystemId(self)
 |      Return the system identifier for the current event.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables (if defined)
 |
 |  __weakref__
 |      list of weak references to the object (if defined)

