◆ getNodeName()
const char * XdmNode::getNodeName |
( |
| ) |
|
Get the name of the node, as a string in the form of a EQName
- Returns
- the name of the node. In the case of unnamed nodes (for example, text and comment nodes) return null.
◆ getStringValue()
const char * XdmNode::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 from XdmItem.
◆ getType()
XDM_TYPE XdmNode::getType |
( |
| ) |
|
|
inlinevirtual |
Get the type of the object
Reimplemented from XdmItem.
◆ getTypedValue()
Get the typed value of this node, as defined in XDM
- Returns
- the typed value. If the typed value is a single atomic value, this will be returned as an instance of XdmAtomicValue
◆ getUnderlyingValue()
jobject XdmNode::getUnderlyingValue |
( |
| ) |
|
|
inlinevirtual |
Get Java XdmValue object.
- Returns
- jobject - The Java object of the XdmValue in its JNI representation
Reimplemented from XdmItem.
◆ toString()
const char * XdmNode::toString |
( |
| ) |
|
|
virtual |
Create a string representation of the value. The is the result of serializing the value using the adaptive serialization method.
- Returns
- a string representation of the value
Reimplemented from XdmValue.
The documentation for this class was generated from the following files: