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.XPathResultpublic double getNumberValue()
throws DOMException
getNumberValue in interface org.w3c.dom.xpath.XPathResultDOMExceptionpublic String getStringValue() throws DOMException
getStringValue in interface org.w3c.dom.xpath.XPathResultDOMExceptionpublic boolean getBooleanValue()
throws DOMException
getBooleanValue in interface org.w3c.dom.xpath.XPathResultDOMExceptionpublic Node getSingleNodeValue() throws DOMException
getSingleNodeValue in interface org.w3c.dom.xpath.XPathResultDOMExceptionpublic boolean getInvalidIteratorState()
getInvalidIteratorState in interface org.w3c.dom.xpath.XPathResultpublic int getSnapshotLength()
throws DOMException
getSnapshotLength in interface org.w3c.dom.xpath.XPathResultDOMExceptionpublic Node iterateNext() throws DOMException
iterateNext in interface org.w3c.dom.xpath.XPathResultDOMExceptionpublic Node snapshotItem(int index) throws DOMException
snapshotItem in interface org.w3c.dom.xpath.XPathResultDOMExceptionCopyright © 2025. All rights reserved.