◆ getHead()
Get the first item in the sequence
- Returns
- XdmItem or null if sequence is empty
Reimplemented from XdmValue.
◆ getStringValue()
const char * XdmItem::getStringValue |
( |
| ) |
|
|
virtual |
Get the string value of the item. For a node, this gets the string value of the node. For an atomic value, it has the same effect as casting the value to a string. In all cases the result is the same as applying the XPath string() function.
For atomic values, the result is the same as the result of calling toString
. This is not the case for nodes, where toString
returns an XML serialization of the node.
- Returns
- the result of converting the item to a string.
- Deprecated:
- the SaxonProcessor argument. It has been removed from release version 1.2.1
Reimplemented in XdmNode, and XdmAtomicValue.
◆ getType()
XDM_TYPE XdmItem::getType |
( |
| ) |
|
|
virtual |
◆ getUnderlyingValue()
jobject XdmItem::getUnderlyingValue |
( |
| ) |
|
|
virtual |
Get Java XdmValue object.
- Returns
- jobject - The Java object of the XdmValue in its JNI representation
Reimplemented from XdmValue.
Reimplemented in XdmNode.
◆ itemAt()
Get the n'th item in the value, counting from zero.
- Parameters
-
n | the item that is required, counting the first item in the sequence as item zero |
- Returns
- the n'th item in the sequence making up the value, counting from zero return NULL if n is less than zero or greater than or equal to the number of items in the value return NULL if the value is lazily evaluated and the delayed evaluation fails with a dynamic error.
Reimplemented from XdmValue.
◆ size()
Get the number of items in the sequence
Reimplemented from XdmValue.
◆ stringValue
std::string XdmItem::stringValue |
|
protected |
Cached. String representation of the XdmValue, if available
The documentation for this class was generated from the following files: