Back to index

python3.2  3.2.2
Public Member Functions
xml.sax.xmlreader.Locator Class Reference
Inheritance diagram for xml.sax.xmlreader.Locator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def getColumnNumber
def getLineNumber
def getPublicId
def getSystemId

Detailed Description

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.

Definition at line 163 of file xmlreader.py.


Member Function Documentation

Reimplemented in xml.sax.expatreader.ExpatParser, and xml.sax.expatreader.ExpatLocator.

Definition at line 169 of file xmlreader.py.

00169 
00170     def getColumnNumber(self):
00171         "Return the column number where the current event ends."
00172         return -1

Reimplemented in xml.sax.expatreader.ExpatParser, and xml.sax.expatreader.ExpatLocator.

Definition at line 173 of file xmlreader.py.

00173 
00174     def getLineNumber(self):
00175         "Return the line number where the current event ends."
00176         return -1

Reimplemented in xml.sax.expatreader.ExpatParser, and xml.sax.expatreader.ExpatLocator.

Definition at line 177 of file xmlreader.py.

00177 
00178     def getPublicId(self):
00179         "Return the public identifier for the current event."
00180         return None

Reimplemented in xml.sax.expatreader.ExpatParser, and xml.sax.expatreader.ExpatLocator.

Definition at line 181 of file xmlreader.py.

00181 
00182     def getSystemId(self):
00183         "Return the system identifier for the current event."
00184         return None
00185 
00186 # ===== INPUTSOURCE =====


The documentation for this class was generated from the following file: