javax.xml.stream
Interface Location
public
interface
Location
Information about the location of an XML event within the underlying
stream.
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. |
public 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.
public int getColumnNumber()
Returns the column number at which the current event ends,
or -1 if this is not available.
public int getLineNumber()
Returns the line number at which the current event ends,
or -1 if this is not available.
public String getPublicId()
Returns the public identifier for this location, if any.
public String getSystemId()
Returns the system identifier for the underlying source.