|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.util.StAXLocationWrapper
A light wrapper around a StAX location. This is useful when bridging between StAX and XNI components.
Constructor Summary | |
---|---|
StAXLocationWrapper()
|
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. |
javax.xml.stream.Location |
getLocation()
|
java.lang.String |
getPublicId()
Returns the public identifier. |
java.lang.String |
getXMLVersion()
Returns the XML version of the current entity. |
void |
setLocation(javax.xml.stream.Location location)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StAXLocationWrapper()
Method Detail |
public void setLocation(javax.xml.stream.Location location)
public javax.xml.stream.Location getLocation()
public java.lang.String getPublicId()
org.apache.xerces.xni.XMLLocator
getPublicId
in interface org.apache.xerces.xni.XMLLocator
public java.lang.String getLiteralSystemId()
org.apache.xerces.xni.XMLLocator
getLiteralSystemId
in interface org.apache.xerces.xni.XMLLocator
public java.lang.String getBaseSystemId()
org.apache.xerces.xni.XMLLocator
getBaseSystemId
in interface org.apache.xerces.xni.XMLLocator
public java.lang.String getExpandedSystemId()
org.apache.xerces.xni.XMLLocator
getExpandedSystemId
in interface org.apache.xerces.xni.XMLLocator
public int getLineNumber()
org.apache.xerces.xni.XMLLocator
-1
if no line number is available.getLineNumber
in interface org.apache.xerces.xni.XMLLocator
public int getColumnNumber()
org.apache.xerces.xni.XMLLocator
-1
if no column number is available.getColumnNumber
in interface org.apache.xerces.xni.XMLLocator
public int getCharacterOffset()
org.apache.xerces.xni.XMLLocator
-1
if no character offset is available.getCharacterOffset
in interface org.apache.xerces.xni.XMLLocator
public java.lang.String getEncoding()
org.apache.xerces.xni.XMLLocator
getEncoding
in interface org.apache.xerces.xni.XMLLocator
public java.lang.String getXMLVersion()
org.apache.xerces.xni.XMLLocator
getXMLVersion
in interface org.apache.xerces.xni.XMLLocator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |