org.apache.xerces.parsers

Class AbstractSAXParser.LocatorProxy

Enclosing Class:
AbstractSAXParser
Implemented Interfaces:
org.xml.sax.ext.Locator2

protected class AbstractSAXParser.LocatorProxy
extends java.lang.Object
implements org.xml.sax.ext.Locator2

Field Summary

protected org.apache.xerces.xni.XMLLocator
fLocator
XML locator.

Constructor Summary

LocatorProxy(org.apache.xerces.xni.XMLLocator locator)
Constructs an XML locator proxy.

Method Summary

int
getColumnNumber()
Column number.
String
getEncoding()
int
getLineNumber()
Line number.
String
getPublicId()
Public identifier.
String
getSystemId()
System identifier.
String
getXMLVersion()

Field Details

fLocator

protected org.apache.xerces.xni.XMLLocator fLocator
XML locator.

Constructor Details

LocatorProxy

public LocatorProxy(org.apache.xerces.xni.XMLLocator locator)
Constructs an XML locator proxy.

Method Details

getColumnNumber

public int getColumnNumber()
Column number.
Specified by:
getColumnNumber in interface org.xml.sax.Locator

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface org.xml.sax.ext.Locator2

getLineNumber

public int getLineNumber()
Line number.
Specified by:
getLineNumber in interface org.xml.sax.Locator

getPublicId

public String getPublicId()
Public identifier.
Specified by:
getPublicId in interface org.xml.sax.Locator

getSystemId

public String getSystemId()
System identifier.
Specified by:
getSystemId in interface org.xml.sax.Locator

getXMLVersion

public String getXMLVersion()
Specified by:
getXMLVersion in interface org.xml.sax.ext.Locator2

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.