|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.stax.EmptyLocation
Location which always returns -1
and null
from its methods.
Method Summary | |
---|---|
int |
getCharacterOffset()
Return the byte or character offset into the input source this location is pointing to. |
int |
getColumnNumber()
Return the column number where the current event ends, returns -1 if none is available. |
static EmptyLocation |
getInstance()
Returns the one and only instance of this class. |
int |
getLineNumber()
Return the line number where the current event ends, returns -1 if none is available. |
java.lang.String |
getPublicId()
Returns the public ID of the XML |
java.lang.String |
getSystemId()
Returns the system ID of the XML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static EmptyLocation getInstance()
public int getLineNumber()
getLineNumber
in interface javax.xml.stream.Location
public int getColumnNumber()
getColumnNumber
in interface javax.xml.stream.Location
public int getCharacterOffset()
getCharacterOffset
in interface javax.xml.stream.Location
public java.lang.String getPublicId()
getPublicId
in interface javax.xml.stream.Location
public java.lang.String getSystemId()
getSystemId
in interface javax.xml.stream.Location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |