LocatorProxypublic class LocatorProxy extends Object implements LocatorWraps {@link XMLLocator} and make it look like a SAX {@link Locator}. |
Fields Summary |
---|
private final XMLLocator | fLocatorXML locator. | private final String | fVersionXML version. |
Constructors Summary |
---|
public LocatorProxy(XMLLocator locator, String version)Constructs an XML locator proxy.
fLocator = locator;
fVersion = version;
|
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 fVersion;
|
|