public interface DOMLocator
DOMLocator
是接口描述的位置(如发生错误的地方)。
Modifier and Type | Method and Description |
---|---|
int |
getByteOffset()
字节偏移量为输入源定位器是指向或
-1 如果没有可用的字节偏移量。
|
int |
getColumnNumber()
列数这一定位指向,或
-1 如果没有可用的列数。
|
int |
getLineNumber()
线数本定位器是指向,或
-1 如果没有可用的列数。
|
Node |
getRelatedNode()
这个定位是指向的节点,或
null 如果没有节点可。
|
String |
getUri()
该定位器URI指向,或
null 如果没有URI是可用的。
|
int |
getUtf16Offset()
UTF-16,如[UNICDOE]修正1的ISO / IEC 10646定义[ ],偏移到输入源定位器是指向或
-1 如果没有使用UTF-16偏移。
|
int getLineNumber()
-1
如果没有可用的列数。
int getColumnNumber()
-1
如果没有可用的列数。
int getByteOffset()
-1
如果没有可用的字节偏移量。
int getUtf16Offset()
-1
如果没有使用UTF-16偏移。
Node getRelatedNode()
null
如果没有节点可。
String getUri()
null
如果没有URI是可用的。
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.