LocatorProxypublic class LocatorProxy extends Object implements Locator2Wraps {@link XMLLocator} and make it look like a SAX {@link Locator}. |
Fields Summary |
---|
private final XMLLocator | fLocatorXML locator. |
Constructors Summary |
---|
public LocatorProxy(XMLLocator locator)Constructs an XML locator proxy.
fLocator = locator;
|
Methods Summary |
---|
public int | getColumnNumber()Column number.
return fLocator.getColumnNumber();
| public java.lang.String | getEncoding()
return fLocator.getEncoding();
| public int | getLineNumber()Line number.
return fLocator.getLineNumber();
| public java.lang.String | getPublicId()Public identifier.
return fLocator.getPublicId();
| public java.lang.String | getSystemId()System identifier.
return fLocator.getExpandedSystemId();
| public java.lang.String | getXMLVersion()
return fLocator.getXMLVersion();
|
|