Fonctions membres publiques | |
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 |
Attributs publics statiques | |
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 |
bool Arcane::dom::XPathResult::booleanValue | ( | ) | const |
Définition à la ligne 3669 du fichier DomLibXml2.cc.
XPathSetIterator Arcane::dom::XPathResult::getSetIterator | ( | bool | ordered | ) | const |
Définition à la ligne 3681 du fichier DomLibXml2.cc.
XPathSetSnapshot Arcane::dom::XPathResult::getSetSnapshot | ( | bool | ordered | ) | const |
Définition à la ligne 3688 du fichier DomLibXml2.cc.
double Arcane::dom::XPathResult::numberValue | ( | ) | const |
Définition à la ligne 3657 du fichier DomLibXml2.cc.
UShort Arcane::dom::XPathResult::resultType | ( | ) | const |
Définition à la ligne 3651 du fichier DomLibXml2.cc.
Node Arcane::dom::XPathResult::singleNodeValue | ( | ) | const |
Définition à la ligne 3675 du fichier DomLibXml2.cc.
DOMString Arcane::dom::XPathResult::stringValue | ( | ) | const |
Définition à la ligne 3663 du fichier DomLibXml2.cc.
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.