public interface Location
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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
|
int getLineNumber()
int getColumnNumber()
int getCharacterOffset()
String getPublicId()
String getSystemId()