|
Streaming API for XML (JSR 173) Version 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides information on the location of an event. All the information provided by a Location is optional. For example an application may only report line numbers.
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. |
int |
getLineNumber()
Return the line number where the current event ends, returns -1 if none is available. |
String |
getPublicId()
Returns the public ID of the XML |
String |
getSystemId()
Returns the system ID of the XML |
Method Detail |
public int getLineNumber()
public int getColumnNumber()
public int getCharacterOffset()
public String getPublicId()
public String getSystemId()
|
Streaming API for XML (JSR 173) Version 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |