FileDocCategorySizeDatePackage
LocatorProxy.javaAPI DocApache Xerces 3.0.12322Fri Sep 14 20:33:52 BST 2007org.apache.xerces.util

LocatorProxy

public class LocatorProxy extends Object implements Locator2
Wraps {@link XMLLocator} and make it look like a SAX {@link Locator}.
author
Arnaud Le Hors, IBM
author
Andy Clark, IBM
version
$Id: LocatorProxy.java 447241 2006-09-18 05:12:57Z mrglavas $

Fields Summary
private final org.apache.xerces.xni.XMLLocator
fLocator
XML locator.
Constructors Summary
public LocatorProxy(org.apache.xerces.xni.XMLLocator locator)
Constructs an XML locator proxy.

        fLocator = locator;
    
Methods Summary
public intgetColumnNumber()
Column number.

        return fLocator.getColumnNumber();
    
public java.lang.StringgetEncoding()

        return fLocator.getEncoding();
    
public intgetLineNumber()
Line number.

        return fLocator.getLineNumber();
    
public java.lang.StringgetPublicId()
Public identifier.

        return fLocator.getPublicId();
    
public java.lang.StringgetSystemId()
System identifier.

        return fLocator.getExpandedSystemId();
    
public java.lang.StringgetXMLVersion()

        return fLocator.getXMLVersion();