Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::dom::XPathResult Class Reference

Public Member Functions

Attribute resultType (DOM Level 3)
UShort resultType () const
Attribute numberValue (DOM Level 3)
double numberValue () const
AttributestringValue (DOM Level 3)
DOMString stringValue () const
Attribute booleanValue (DOM Level 3)
bool booleanValue () const
Attribute singleNodeValue (DOM Level 3)
Node singleNodeValue () const
DOM Level 3 operations
XPathSetIterator getSetIterator (bool ordered) const
XPathSetSnapshot getSetSnapshot (bool ordered) const

Static Public Attributes

XPathResultType
static const UShort ANY_TYPE = 0
static const UShort NUMBER_TYPE = 1
 The result is a number as defined by XPath 1.0.
static const UShort STRING_TYPE = 2
 The result is a string as defined by XPath 1.0.
static const UShort BOOLEAN_TYPE = 3
 The result is a boolean as defined by XPath 1.0.
static const UShort NODE_SET_TYPE = 4
 The result is a node set as defined by XPath 1.0.
static const UShort SINGLE_NODE_TYPE = 5

Detailed Description

Definition at line 1219 of file Dom.h.

Member Function Documentation

◆ booleanValue()

bool Arcane::dom::XPathResult::booleanValue ( ) const

Definition at line 3669 of file DomLibXml2.cc.

◆ getSetIterator()

XPathSetIterator Arcane::dom::XPathResult::getSetIterator ( bool ordered) const

Definition at line 3681 of file DomLibXml2.cc.

◆ getSetSnapshot()

XPathSetSnapshot Arcane::dom::XPathResult::getSetSnapshot ( bool ordered) const

Definition at line 3688 of file DomLibXml2.cc.

◆ numberValue()

double Arcane::dom::XPathResult::numberValue ( ) const

Definition at line 3657 of file DomLibXml2.cc.

◆ resultType()

UShort Arcane::dom::XPathResult::resultType ( ) const

Definition at line 3651 of file DomLibXml2.cc.

◆ singleNodeValue()

Node Arcane::dom::XPathResult::singleNodeValue ( ) const

Definition at line 3675 of file DomLibXml2.cc.

◆ stringValue()

DOMString Arcane::dom::XPathResult::stringValue ( ) const

Definition at line 3663 of file DomLibXml2.cc.

Member Data Documentation

◆ ANY_TYPE

const UShort Arcane::dom::XPathResult::ANY_TYPE = 0
static

This code does not represent a specific type. An evaluation of an XPath expression will never produce this type. If this type is requested, then the evaluation must return whatever type Integerly results from evaluation of the expression.

Definition at line 1231 of file Dom.h.

◆ BOOLEAN_TYPE

const UShort Arcane::dom::XPathResult::BOOLEAN_TYPE = 3
static

The result is a boolean as defined by XPath 1.0.

Definition at line 1237 of file Dom.h.

◆ NODE_SET_TYPE

const UShort Arcane::dom::XPathResult::NODE_SET_TYPE = 4
static

The result is a node set as defined by XPath 1.0.

Definition at line 1239 of file Dom.h.

◆ NUMBER_TYPE

const UShort Arcane::dom::XPathResult::NUMBER_TYPE = 1
static

The result is a number as defined by XPath 1.0.

Definition at line 1233 of file Dom.h.

◆ SINGLE_NODE_TYPE

const UShort Arcane::dom::XPathResult::SINGLE_NODE_TYPE = 5
static

The result is a single node, which may be any node of the node set defined by XPath 1.0, or null if the node set is empty. This is a convenience that permits optimization where the caller knows that no more than one such node exists because evaluation can stop after finding the one node of an expression that would otherwise return a node set (of type NODE_SET_TYPE).

Where it is possible that multiple nodes may exist and the first node in document order is required, a NODE_SET_TYPE should be processed using an ordered iterator, because there is no order guarantee for a single node.

Definition at line 1253 of file Dom.h.

◆ STRING_TYPE

const UShort Arcane::dom::XPathResult::STRING_TYPE = 2
static

The result is a string as defined by XPath 1.0.

Definition at line 1235 of file Dom.h.


The documentation for this class was generated from the following files: