public interface XPathResult
nsIDOMXPathResult
for more detail.Modifier and Type | Field and Description |
---|---|
static int |
ANY_TYPE
A result set containing whatever type naturally results from evaluation of the expression.
|
static int |
ANY_UNORDERED_NODE_TYPE
A result node-set containing any single node that matches the expression.
|
static int |
BOOLEAN_TYPE
A result containing a single boolean value.
|
static int |
FIRST_ORDERED_NODE_TYPE
A result node-set containing the first node in the document that matches the expression.
|
static int |
NUMBER_TYPE
A result containing a single number.
|
static int |
ORDERED_NODE_ITERATOR_TYPE
A result node-set containing all the nodes matching the expression.
|
static int |
ORDERED_NODE_SNAPSHOT_TYPE
A result node-set containing snapshots of all the nodes matching the expression.
|
static int |
STRING_TYPE
A result containing a single string.
|
static int |
UNORDERED_NODE_ITERATOR_TYPE
A result node-set containing all the nodes matching the expression.
|
static int |
UNORDERED_NODE_SNAPSHOT_TYPE
A result node-set containing snapshots of all the nodes matching the expression.
|
Modifier and Type | Method and Description |
---|---|
double |
getNumberValue()
readonly float
|
int |
getResultType()
readonly integer (short)
|
Node |
getSingleNodeValue()
readonly Node
|
int |
getSnapshotLength()
readonly Integer
|
String |
getStringValue()
readonly String
|
boolean |
isBooleanValue()
readonly boolean
|
boolean |
isInvalidIteratorState()
readonly boolean
|
Node |
iterateNext() |
Node |
snapshotItem(int index) |
static final int ANY_TYPE
static final int ANY_UNORDERED_NODE_TYPE
static final int BOOLEAN_TYPE
not()
function.static final int FIRST_ORDERED_NODE_TYPE
static final int NUMBER_TYPE
count()
function.static final int ORDERED_NODE_ITERATOR_TYPE
static final int ORDERED_NODE_SNAPSHOT_TYPE
static final int STRING_TYPE
static final int UNORDERED_NODE_ITERATOR_TYPE
static final int UNORDERED_NODE_SNAPSHOT_TYPE
boolean isBooleanValue()
boolean isInvalidIteratorState()
double getNumberValue()
int getResultType()
Node getSingleNodeValue()
int getSnapshotLength()
String getStringValue()
Node iterateNext()
Node snapshotItem(int index)
Copyright © 2016. All rights reserved.