|
| | XdmArray () |
| | Default constructor.
|
| |
| | XdmArray (const XdmArray &d) |
| | Constructor to create a null XdmArray that is not an empty array.
|
| |
|
virtual | ~XdmArray () |
| | Destructor method for XdmArray.
|
| |
| | XdmArray (int64_t obj) |
| | XdmArray constructor to create an object which is a wrapper for a Java XdmArray object - internal use only.
|
| |
| | XdmArray (int64_t obj, int len) |
| | XdmArray constructor to create an object which is a wrapper for a Java XdmArray object - internal use only.
|
| |
| int | arrayLength () |
| | Get the number of members in the array.
|
| |
| XdmValue * | get (int n) |
| | Get the n'th member in the array, counting from zero.
|
| |
| XdmArray * | put (int n, XdmValue *value) |
| | Create a new array in which one member is replaced with a new value.
|
| |
| XdmArray * | addMember (XdmValue *value) |
| | Append a new member to an array.
|
| |
| XdmArray * | concat (XdmArray *value) |
| | Concatenate another array.
|
| |
| std::list< XdmValue * > | asList () |
| | Get the members of the array in the form of a list.
|
| |
| XdmValue ** | values () |
| | Get the members of the XDM array in the form of a C++ array.
|
| |
| int | getArity () |
| | Get the arity of the function.
|
| |
| const char * | getStringValue (const char *encoding=nullptr) |
| | Get the string value of the XdmArray item.
|
| |
| bool | isFunction () |
| | Determine whether the item is an XDM function or some other type of item.
|
| |
| XDM_TYPE | getType () |
| | Get the type of this XDM value.
|
| |
| bool | isArray () |
| | Determine whether the item is an XDM array or some other type of item.
|
| |
| const char * | toString (const char *encoding=nullptr) |
| | Create a string representation of the XDM array.
|
| |
| | XdmFunctionItem () |
| | Default constructor.
|
| |
| | XdmFunctionItem (int64_t obj) |
| | XdmFunctionItem constructor to create an object which is a wrapper for a Java XdmFunctionItem object - internal use only.
|
| |
| | XdmFunctionItem (const XdmFunctionItem &d) |
| | XdmFunctionItem copy constructor.
|
| |
|
virtual | ~XdmFunctionItem () |
| | Destructor method for XdmFunctionItem.
|
| |
| const char * | getName () |
| | Get the name of the function as an EQName.
|
| |
| const char * | getStringValue (const char *encoding=nullptr) |
| | Get the string value of the XdmFunctionItem.
|
| |
| XdmValue * | call (SaxonProcessor *processor, XdmValue **arguments, int argument_length) |
| | Call the function.
|
| |
| bool | isAtomic () |
| | Determine whether the item is an atomic value or some other type of item.
|
| |
| XDM_TYPE | getType () |
| | Get the type of this XDM value.
|
| |
| bool | isFunction () |
| | Determine whether the item is a function or some other type of item.
|
| |
| | XdmItem () |
| | Default constructor.
|
| |
| | XdmItem (int64_t objRef) |
| | XdmItem constructor to create an object which is a wrapper for a Java XdmItem object - internal use only.
|
| |
| | XdmItem (const XdmItem &item) |
| | XdmItem copy constructor.
|
| |
|
virtual | ~XdmItem () |
| | Destructor method for XdmItem.
|
| |
| virtual void | incrementRefCount () |
| | Increment reference count of this XdmItem - internal use only.
|
| |
| virtual void | decrementRefCount () |
| | Decrement reference count of this XdmItem - internal use only.
|
| |
| virtual bool | isNode () |
| | Determine whether the item is a node or some other type of item.
|
| |
| virtual bool | isMap () |
| | Determine whether the item is an XDM map or some other type of item.
|
| |
| virtual int64_t | getUnderlyingValue () |
| | Get the underlying Java XdmValue object - internal use only.
|
| |
| const char * | toString (const char *encoding=nullptr) |
| | Create a string representation of the item.
|
| |
| virtual XdmItem * | getHead () |
| | Get the first item in the sequence consisting of just this item.
|
| |
| XdmItem * | itemAt (int n) |
| | Get the n'th item in the sequence consisting of just this item, counting from zero.
|
| |
| int | size () |
| | Get the number of items in the sequence.
|
| |
| | XdmValue () |
| | Default constructor.
|
| |
| | XdmValue (const XdmValue &other) |
| | XdmValue copy constructor.
|
| |
| void | addXdmItem (XdmItem *val) |
| | Add an XdmItem to the sequence.
|
| |
|
virtual bool | operator== (const XdmValue &other) const |
| |
| void | addXdmItemFromUnderlyingValue (XdmItem *val) |
| | Add an XdmItem to the sequence, when the sequence was returned from SaxonC - internal use only.
|
| |
| void | addUnderlyingValue (int64_t val) |
| | Add Java XdmValue object to the sequence.
|
| |
| | XdmValue (int64_t val, bool arrFlag) |
| | A Constructor for handling XdmArray - internal use only.
|
| |
| | XdmValue (int64_t val) |
| | XdmValue constructor to create an object which is a wrapper for a Java XdmValue object - internal use only.
|
| |
|
virtual | ~XdmValue () |
| | Destructor method for XdmValue.
|
| |
| void | releaseXdmValue () |
| | Deprecated: this is deprecated and a no-op, the C++ destructor handles this case.
|
| |
|
int | getRefCount () |
| | Get the number of references on this XdmValue - internal use only This method is used for internal memory management.
|
| |
|
void | resetRelinquishedItems () |
| | Reset associated reference counts on XdmItems that have been relinquished - internal use only.
|
| |
|
void | incrementRefCountForRelinquishedValue (int i) |
| | Increment the ref count for a relinquished item only once - internal use only.
|
| |
An array in the XDM data model.
An array is a list of zero or more members, each of which is an arbitrary XDM value. The array itself is an XDM item.
An XdmArray is immutable.