Package org.apache.xerces.util
Class LocatorProxy
java.lang.Object
org.apache.xerces.util.LocatorProxy
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
ConstructorsConstructorDescriptionLocatorProxy
(org.apache.xerces.xni.XMLLocator locator) Constructs an XML locator proxy. -
Method Summary
Modifier and TypeMethodDescriptionint
Column number.int
Line number.Public identifier.System identifier.
-
Constructor Details
-
LocatorProxy
public LocatorProxy(org.apache.xerces.xni.XMLLocator locator) Constructs an XML locator proxy.
-
-
Method Details
-
getPublicId
Public identifier.- Specified by:
getPublicId
in interfaceLocator
-
getSystemId
System identifier.- Specified by:
getSystemId
in interfaceLocator
-
getLineNumber
public int getLineNumber()Line number.- Specified by:
getLineNumber
in interfaceLocator
-
getColumnNumber
public int getColumnNumber()Column number.- Specified by:
getColumnNumber
in interfaceLocator
-
getXMLVersion
- Specified by:
getXMLVersion
in interfaceLocator2
-
getEncoding
- Specified by:
getEncoding
in interfaceLocator2
-