|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.util.LocatorProxy
public class LocatorProxy
Wraps XMLLocator
and make it look like a SAX Locator
.
Constructor Summary | |
---|---|
LocatorProxy(XMLLocator locator)
Constructs an XML locator proxy. |
Method Summary | |
---|---|
int |
getColumnNumber()
Column number. |
java.lang.String |
getEncoding()
Returns the name of the character encoding for the entity. |
int |
getLineNumber()
Line number. |
java.lang.String |
getPublicId()
Public identifier. |
java.lang.String |
getSystemId()
System identifier. |
java.lang.String |
getXMLVersion()
Returns the version of XML used for the entity. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocatorProxy(XMLLocator locator)
Method Detail |
---|
public java.lang.String getPublicId()
getPublicId
in interface Locator
Locator.getSystemId()
public java.lang.String getSystemId()
getSystemId
in interface Locator
Locator.getPublicId()
public int getLineNumber()
getLineNumber
in interface Locator
Locator.getColumnNumber()
public int getColumnNumber()
getColumnNumber
in interface Locator
Locator.getLineNumber()
public java.lang.String getXMLVersion()
Locator2
getXMLVersion
in interface Locator2
public java.lang.String getEncoding()
Locator2
When an InputSource
is used
to provide an entity's character stream, this method returns the
encoding provided in that input stream.
Note that some recent W3C specifications require that text in some encodings be normalized, using Unicode Normalization Form C, before processing. Such normalization must be performed by applications, and would normally be triggered based on the value returned by this method.
Encoding names may be those used by the underlying JVM, and comparisons should be case-insensitive.
getEncoding
in interface Locator2
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |