Saxon/C
1.2.1
Saxon Processor library for C/C++, PHP and Python
|
Public Member Functions | |
XdmAtomicValue (const XdmAtomicValue &d) | |
XdmAtomicValue (jobject) | |
XdmAtomicValue (jobject, const char *ty) | |
const char * | getPrimitiveTypeName () |
bool | getBooleanValue () |
double | getDoubleValue () |
const char * | getStringValue () |
long | getLongValue () |
void | setType (const char *ty) |
bool | isAtomic () |
XDM_TYPE | getType () |
Public Member Functions inherited from XdmItem | |
XdmItem (jobject) | |
XdmItem (const XdmItem &item) | |
virtual void | incrementRefCount () |
virtual void | decrementRefCount () |
virtual jobject | getUnderlyingValue () |
sxnc_value * | getUnderlyingCValue () |
XdmItem * | getHead () |
XdmItem * | itemAt (int n) |
int | size () |
Public Member Functions inherited from XdmValue | |
XdmValue () | |
XdmValue (SaxonProcessor *p) | |
XdmValue (const XdmValue &other) | |
XdmValue * | addXdmValueWithType (const char *tStr, const char *val) |
void | addXdmItem (XdmItem *val) |
void | addUnderlyingValue (jobject val) |
XdmValue (jobject val, bool arrFlag) | |
XdmValue (jobject val) | |
void | releaseXdmValue () |
virtual const char * | toString () |
int | getRefCount () |
void | setProcessor (SaxonProcessor *p) |
const char * | checkFailures () |
Additional Inherited Members | |
Protected Attributes inherited from XdmItem | |
sxnc_value * | value |
std::string | stringValue |
Protected Attributes inherited from XdmValue | |
SaxonProcessor * | proc |
char * | valueType |
std::vector< XdmItem * > | values |
int | xdmSize |
int | refCount |
|
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.
Reimplemented from XdmItem.
|
inlinevirtual |
Get the type of the object
Reimplemented from XdmItem.