public interface Location
Modifier and Type | Method and Description |
---|---|
int |
getCharacterOffset()
将字节或字符偏移量返回到此位置指向的输入源。
|
int |
getColumnNumber()
返回当前事件结束的列号,如果没有可用,返回-1。
|
int |
getLineNumber()
返回当前事件结束的行号,如果没有可用,返回-1。
|
String |
getPublicId()
返回XML的公共ID
|
String |
getSystemId()
返回XML的系统ID
|
int getLineNumber()
int getColumnNumber()
int getCharacterOffset()
String getPublicId()
String getSystemId()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.