|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.util.SAXLocatorWrapper
public final class SAXLocatorWrapper
A light wrapper around a SAX locator. This is useful when bridging between SAX and XNI components.
| Constructor Summary | |
|---|---|
SAXLocatorWrapper()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBaseSystemId()
Returns the base system identifier. |
int |
getCharacterOffset()
Returns the character offset, or -1 if no character offset is available. |
int |
getColumnNumber()
Returns the column number, or -1 if no column number is available. |
java.lang.String |
getEncoding()
Returns the encoding of the current entity. |
java.lang.String |
getExpandedSystemId()
Returns the expanded system identifier. |
int |
getLineNumber()
Returns the line number, or -1 if no line number is available. |
java.lang.String |
getLiteralSystemId()
Returns the literal system identifier. |
Locator |
getLocator()
|
java.lang.String |
getPublicId()
Returns the public identifier. |
java.lang.String |
getXMLVersion()
Returns the XML version of the current entity. |
void |
setLocator(Locator locator)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SAXLocatorWrapper()
| Method Detail |
|---|
public void setLocator(Locator locator)
public Locator getLocator()
public java.lang.String getPublicId()
XMLLocator
getPublicId in interface XMLLocatorpublic java.lang.String getLiteralSystemId()
XMLLocator
getLiteralSystemId in interface XMLLocatorpublic java.lang.String getBaseSystemId()
XMLLocator
getBaseSystemId in interface XMLLocatorpublic java.lang.String getExpandedSystemId()
XMLLocator
getExpandedSystemId in interface XMLLocatorpublic int getLineNumber()
XMLLocator-1 if no line number is available.
getLineNumber in interface XMLLocatorpublic int getColumnNumber()
XMLLocator-1 if no column number is available.
getColumnNumber in interface XMLLocatorpublic int getCharacterOffset()
XMLLocator-1 if no character offset is available.
getCharacterOffset in interface XMLLocatorpublic java.lang.String getEncoding()
XMLLocator
getEncoding in interface XMLLocatorpublic java.lang.String getXMLVersion()
XMLLocator
getXMLVersion in interface XMLLocator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||