|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.apache.xerces.parsers.AbstractSAXParser.LocatorProxy
| Field Summary | |
protected org.apache.xerces.xni.XMLLocator |
fLocator
XML locator. |
| Constructor Summary | |
AbstractSAXParser.LocatorProxy(org.apache.xerces.xni.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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.apache.xerces.xni.XMLLocator fLocator
| Constructor Detail |
public AbstractSAXParser.LocatorProxy(org.apache.xerces.xni.XMLLocator locator)
| Method Detail |
public java.lang.String getPublicId()
getPublicId in interface org.xml.sax.Locatororg.xml.sax.LocatorLocator.getSystemId()public java.lang.String getSystemId()
getSystemId in interface org.xml.sax.Locatororg.xml.sax.LocatorLocator.getPublicId()public int getLineNumber()
getLineNumber in interface org.xml.sax.Locatororg.xml.sax.LocatorLocator.getColumnNumber()public int getColumnNumber()
getColumnNumber in interface org.xml.sax.Locatororg.xml.sax.LocatorLocator.getLineNumber()public java.lang.String getXMLVersion()
org.xml.sax.ext.Locator2getXMLVersion in interface org.xml.sax.ext.Locator2org.xml.sax.ext.Locator2public java.lang.String getEncoding()
org.xml.sax.ext.Locator2When 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 org.xml.sax.ext.Locator2org.xml.sax.ext.Locator2
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||