A default Constructor. Create a empty value
XdmValue::XdmValue |
( |
const XdmValue & |
other | ) |
|
A copy constructor.
- Parameters
-
XdmValue::XdmValue |
( |
jobject |
val | ) |
|
A Constructor. Wrap an Java XdmValue object.
- Parameters
-
void XdmValue::addUnderlyingValue |
( |
jobject |
val | ) |
|
Add an Java XdmValue object to the sequence. See methods the functions in SaxonCXPath of the C library
- Parameters
-
void XdmValue::addXdmItem |
( |
XdmItem * |
val | ) |
|
Add an XdmItem to the sequence. See methods the functions in SaxonCXPath of the C library
- Parameters
-
XdmValue* XdmValue::addXdmValueWithType |
( |
const char * |
tStr, |
|
|
const char * |
val |
|
) |
| |
Constructor. Create a value from a collection of items
- Parameters
-
val | - Xdmvalue Constructor. Create a value from a collection of items |
val | - Xdmvalue Add an XdmItem to the sequence. This method is designed for the primitive types. |
type | - specify target type of the value |
val | - Value to convert |
Get the first item in the sequence
- Returns
- XdmItem or null if sequence is empty
Reimplemented in XdmItem.
XDM_TYPE XdmValue::getType |
( |
| ) |
|
|
virtual |
jobject XdmValue::getUnderlyingValue |
( |
| ) |
|
|
virtual |
XdmItem * XdmValue::itemAt |
( |
int |
n | ) |
|
|
virtual |
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 in XdmItem.
Get the number of items in the sequence
Reimplemented in XdmItem.
char* XdmValue::valueType |
|
protected |
Cached. The count of items in the XdmValue
The documentation for this class was generated from the following files: