8 #ifndef SAXON_XDMVALUE_H
9 #define SAXON_XDMVALUE_H
13 #include "SaxonProcessor.h"
18 #include "SaxonCGlue.h"
19 #include "SaxonCXPath.h"
32 typedef enum eXdmType { XDM_VALUE = 1, XDM_ITEM = 2, XDM_NODE = 3, XDM_ATOMIC_VALUE = 4, XDM_FUNCTION_ITEM = 5, XDM_MAP=6, XDM_ARRAY=7 } XDM_TYPE;
34 typedef enum saxonTypeEnum
103 XdmValue(jobject val,
bool arrFlag);
208 std::string toStringValue;
209 jobjectArray jValues;
The SaxonProcessor class acts as a factory for generating XQuery, XPath, Schema and XSLT compilers.
Definition: SaxonProcessor.h:119
Definition: XdmAtomicValue.h:26
Definition: XdmValue.h:50
int refCount
Definition: XdmValue.h:206
void addUnderlyingValue(jobject val)
Definition: XdmValue.cpp:195
int xdmSize
Definition: XdmValue.h:205
XdmValue * addXdmValueWithType(const char *tStr, const char *val)
Add an XdmItem to the sequence.
void addXdmItem(XdmItem *val)
Definition: XdmValue.cpp:181
virtual XDM_TYPE getType()
Definition: XdmValue.cpp:272
int getRefCount()
Get the number of references on this XdmValue.
Definition: XdmValue.h:161
virtual ~XdmValue()
Destructor.
Definition: XdmValue.cpp:156
virtual const char * toString()
Create a string representation of the value.
Definition: XdmValue.cpp:30
virtual jobject getUnderlyingValue()
Definition: XdmValue.cpp:227
virtual XdmItem * itemAt(int n)
Get the n'th item in the value, counting from zero.
Definition: XdmValue.cpp:262
virtual void incrementRefCount()
Increment reference count of this XdmValue - Memory management - Internal use only.
Definition: XdmValue.cpp:204
virtual void decrementRefCount()
Decrement reference count of this XdmValue - Memory management - Internal use only.
Definition: XdmValue.cpp:209
virtual XdmItem * getHead()
Get the first item in the sequence.
Definition: XdmValue.cpp:218
char * valueType
Definition: XdmValue.h:201
void initialize()
initialize this XdmValue with default values
Definition: XdmValue.h:193
XdmValue()
A default Constructor.
Definition: XdmValue.h:59
std::vector< XdmItem * > values
Definition: XdmValue.h:204
void releaseXdmValue()
Delete the XdmValue object and clean up all items in the sequence. Release the underlying JNI object.
Definition: XdmValue.cpp:248
virtual int size()
Definition: XdmValue.cpp:76