org.apache.batik.dom
public class AbstractDocument.XPathExpr.Result extends Object implements XPathResult
| Field Summary | |
|---|---|
| protected boolean | booleanValue
The boolean value. |
| protected NodeList | iterator
The NodeList for iterators. |
| protected int | iteratorPosition
The position of the iterator. |
| protected double | numberValue
The number value. |
| protected short | resultType
The result type. |
| protected Node | singleNodeValue
The single node value. |
| protected String | stringValue
The string value. |
| Constructor Summary | |
|---|---|
| Result(Node n, short type)
Creates a new single node Result object. | |
| Result(boolean b)
Creates a new boolean Result object. | |
| Result(double d)
Creates a new number Result object. | |
| Result(String s)
Creates a new string Result object. | |
| Result(NodeList nl, short type)
Creates a new node iterator Result object. | |
| Method Summary | |
|---|---|
| boolean | getBooleanValue()
Gets the boolean value. |
| boolean | getInvalidIteratorState()
Returns whether the iterator has been invalidated by
document modifications. |
| double | getNumberValue()
Gets the number value. |
| short | getResultType()
Gets the result type. |
| Node | getSingleNodeValue()
Gets the single node value. |
| int | getSnapshotLength()
Returns the length of the snapshot. |
| String | getStringValue()
Gets the string value. |
| Node | iterateNext()
DOM: Implement
org.w3c.dom.xpath.XPathResult#iterateNext(). |
| Node | snapshotItem(int i)
Returns the ith item in the snapshot. |
ith item in the snapshot.