◆ XdmValue() [1/4]
A default Constructor. Create a empty value
◆ XdmValue() [2/4]
XdmValue::XdmValue |
( |
const XdmValue & |
other | ) |
|
A copy constructor.
- Parameters
-
◆ XdmValue() [3/4]
XdmValue::XdmValue |
( |
jobject |
val, |
|
|
bool |
arrFlag |
|
) |
| |
A Constructor. Handles a sequence of XdmValues given as a wrapped an Java XdmValue object.
- Parameters
-
val | - Java XdmValue object |
arrFlag | - Currently not used but allows for overloading of constructor methods |
◆ XdmValue() [4/4]
XdmValue::XdmValue |
( |
jobject |
val | ) |
|
A Constructor. Wrap an Java XdmValue object.
- Parameters
-
◆ addUnderlyingValue()
void XdmValue::addUnderlyingValue |
( |
jobject |
val | ) |
|
Add an Java XdmValue object to the sequence. See methods the functions in SaxonCXPath of the C library
- Parameters
-
◆ addXdmItem()
void XdmValue::addXdmItem |
( |
XdmItem * |
val | ) |
|
Add an XdmItem to the sequence. See functions in SaxonCXPath of the C library
- Parameters
-
◆ addXdmValueWithType()
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 |
◆ getHead()
Get the first item in the sequence
- Returns
- XdmItem or null if sequence is empty
Reimplemented in XdmItem.
◆ getType()
XDM_TYPE XdmValue::getType |
( |
| ) |
|
|
virtual |
◆ getUnderlyingValue()
jobject XdmValue::getUnderlyingValue |
( |
| ) |
|
|
virtual |
◆ itemAt()
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
Reimplemented in XdmItem.
◆ size()
Get the number of items in the sequence
Reimplemented in XdmItem.
◆ toString()
const char * XdmValue::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 in XdmNode.
◆ valueType
char* XdmValue::valueType |
|
protected |
◆ xdmSize
Cached. The count of items in the XdmValue
The documentation for this class was generated from the following files: