FileDocCategorySizeDatePackage
LocatorProxy.javaAPI DocJava SE 6 API2090Tue Jun 10 00:22:50 BST 2008com.sun.org.apache.xerces.internal.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,v 1.2.6.1 2005/09/05 11:00:49 neerajbj Exp $

Fields Summary
private final XMLLocator
fLocator
XML locator.
Constructors Summary
public LocatorProxy(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();