javax.xml.stream
public interface Location
| Method Summary | |
|---|---|
| int | getCharacterOffset()
Returns the offset from the start of the source, in bytes or characters
depending on the nature of the source, or -1 if this is not available. |
| int | getColumnNumber()
Returns the column number at which the current event ends,
or -1 if this is not available. |
| int | getLineNumber()
Returns the line number at which the current event ends,
or -1 if this is not available. |
| String | getPublicId()
Returns the public identifier for this location, if any. |
| String | getSystemId()
Returns the system identifier for the underlying source. |