Package xml :: Package sax :: Module expatreader :: Class ExpatLocator
[hide private]
[frames] | no frames]

_ClassType ExpatLocator

xmlreader.Locator --+
                    |
                   ExpatLocator

Locator for use with the ExpatParser class.

This uses a weak reference to the parser object to avoid creating a circular reference between the parser and the content handler.

Instance Methods [hide private]
 
__init__(self, parser)
 
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.
Method Details [hide private]

getColumnNumber(self)

 

Return the column number where the current event ends.

Overrides: xmlreader.Locator.getColumnNumber
(inherited documentation)

getLineNumber(self)

 

Return the line number where the current event ends.

Overrides: xmlreader.Locator.getLineNumber
(inherited documentation)

getPublicId(self)

 

Return the public identifier for the current event.

Overrides: xmlreader.Locator.getPublicId
(inherited documentation)

getSystemId(self)

 

Return the system identifier for the current event.

Overrides: xmlreader.Locator.getSystemId
(inherited documentation)