public interface XPathIteratorItem
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorMessage()
Returns the error message if the last operation failed.
如果最后一个操作失败,则返回错误消息。 |
DOMNode |
getNode()
Returns the next item when result represented as an iterator.
当结果表示为迭代器时,返回下一项。 |
boolean |
isError()
Returns
发生错误时返回true。 true when an error occurred.
|
DOMNode getNode()
isError()
method is returned
true
. If the result cannot be represented as an iterator this method will return
null
and
isError()
method is returned
true
.
null
when the iteration is over.
当结果表示为迭代器或迭代结束时,下一项。
boolean isError()
true
when an error occurred. You can call
getErrorMessage()
method to retrieve the last error message.
true
when an error occurred.
当发生错误时。
java.lang.String getErrorMessage()