org.apache.xerces.util

Class LocatorProxy

Implemented Interfaces:
org.xml.sax.ext.Locator2

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

Wraps XMLLocator and make it look like a SAX Locator.
Version:
$Id: LocatorProxy.java 320498 2005-06-20 18:29:00Z mrglavas $
Authors:
Arnaud Le Hors, IBM
Andy Clark, IBM

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()

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.