org.apache.xerces.util
Class LocatorProxy

java.lang.Object
  extended by org.apache.xerces.util.LocatorProxy
All Implemented Interfaces:
Locator2, Locator

public class LocatorProxy
extends Object
implements Locator2

Wraps XMLLocator and make it look like a SAX Locator.

Version:
$Id: LocatorProxy.java 447241 2006-09-18 05:12:57Z mrglavas $
Author:
Arnaud Le Hors, IBM, Andy Clark, IBM

Constructor Summary
LocatorProxy(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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorProxy

public LocatorProxy(XMLLocator locator)
Constructs an XML locator proxy.

Method Detail

getPublicId

public String getPublicId()
Public identifier.

Specified by:
getPublicId in interface Locator

getSystemId

public String getSystemId()
System identifier.

Specified by:
getSystemId in interface Locator

getLineNumber

public int getLineNumber()
Line number.

Specified by:
getLineNumber in interface Locator

getColumnNumber

public int getColumnNumber()
Column number.

Specified by:
getColumnNumber in interface Locator

getXMLVersion

public String getXMLVersion()
Specified by:
getXMLVersion in interface Locator2

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface Locator2


Copyright © 2011. All Rights Reserved.