FileDocCategorySizeDatePackage
LocatorProxy.javaAPI DocJava SE 5 API4200Fri Aug 26 14:55:56 BST 2005com.sun.org.apache.xerces.internal.util

LocatorProxy

public class LocatorProxy extends Object implements Locator
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,v 1.3 2004/01/27 00:31:58 kk122374 Exp $

Fields Summary
private final XMLLocator
fLocator
XML locator.
private final String
fVersion
XML version.
Constructors Summary
public LocatorProxy(XMLLocator locator, String version)
Constructs an XML locator proxy.

        fLocator = locator;
        fVersion = version;
    
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 fVersion;