public class XPathResultImpl extends Object implements org.w3c.dom.xpath.XPathResult
Modifier and Type | Field and Description |
---|---|
static int |
ANY_TYPE |
static int |
ANY_UNORDERED_NODE_TYPE |
static int |
BOOLEAN_TYPE |
static int |
FIRST_ORDERED_NODE_TYPE |
static int |
NUMBER_TYPE |
static int |
ORDERED_NODE_ITERATOR_TYPE |
static int |
ORDERED_NODE_SNAPSHOT_TYPE |
static int |
STRING_TYPE |
static int |
UNORDERED_NODE_ITERATOR_TYPE |
static int |
UNORDERED_NODE_SNAPSHOT_TYPE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
boolean |
getBooleanValue() |
boolean |
getInvalidIteratorState() |
double |
getNumberValue() |
short |
getResultType() |
Node |
getSingleNodeValue() |
int |
getSnapshotLength() |
String |
getStringValue() |
int |
hashCode() |
Node |
iterateNext() |
Node |
snapshotItem(int index) |
public static final int ANY_TYPE
public static final int NUMBER_TYPE
public static final int STRING_TYPE
public static final int BOOLEAN_TYPE
public static final int UNORDERED_NODE_ITERATOR_TYPE
public static final int ORDERED_NODE_ITERATOR_TYPE
public static final int UNORDERED_NODE_SNAPSHOT_TYPE
public static final int ORDERED_NODE_SNAPSHOT_TYPE
public static final int ANY_UNORDERED_NODE_TYPE
public static final int FIRST_ORDERED_NODE_TYPE
public short getResultType()
getResultType
in interface org.w3c.dom.xpath.XPathResult
public double getNumberValue() throws DOMException
getNumberValue
in interface org.w3c.dom.xpath.XPathResult
DOMException
public String getStringValue() throws DOMException
getStringValue
in interface org.w3c.dom.xpath.XPathResult
DOMException
public boolean getBooleanValue() throws DOMException
getBooleanValue
in interface org.w3c.dom.xpath.XPathResult
DOMException
public Node getSingleNodeValue() throws DOMException
getSingleNodeValue
in interface org.w3c.dom.xpath.XPathResult
DOMException
public boolean getInvalidIteratorState()
getInvalidIteratorState
in interface org.w3c.dom.xpath.XPathResult
public int getSnapshotLength() throws DOMException
getSnapshotLength
in interface org.w3c.dom.xpath.XPathResult
DOMException
public Node iterateNext() throws DOMException
iterateNext
in interface org.w3c.dom.xpath.XPathResult
DOMException
public Node snapshotItem(int index) throws DOMException
snapshotItem
in interface org.w3c.dom.xpath.XPathResult
DOMException
Copyright © 2020. All rights reserved.