Saxon/C  0.3.1
Saxon Processor library for C/C++
 All Classes Functions Variables
Public Member Functions | Public Attributes | List of all members
XdmValue Class Reference

Public Member Functions

 XdmValue ()
 
 XdmValue (bool val)
 
 XdmValue (string val)
 
 XdmValue (string tStr, string val)
 
 XdmValue (char *val)
 
 XdmValue (int val)
 
 XdmValue (jobject val)
 
void releaseXdmValue (SaxonProcessor *proc)
 
jobject getUnderlyingValue (SaxonProcessor *p)
 
const char * getStringValue (SaxonProcessor *p)
 
void setProcessor (SaxonProcessor *p)
 
const char * getErrorMessage (int i)
 
const char * getErrorCode (int i)
 
int exceptionCount ()
 
string checkFailures ()
 

Public Attributes

SaxonProcessorprocessor
 

Constructor & Destructor Documentation

XdmValue::XdmValue ( )
inline

A default Constructor. Create a empty value

XdmValue::XdmValue ( bool  val)
inline

A Constructor. Create an xs:boolean value

Parameters
val- boolean value
XdmValue::XdmValue ( string  val)
inline

A Constructor. Create an xs:string value

Parameters
val- string value
XdmValue::XdmValue ( string  tStr,
string  val 
)
inline

A Constructor. Create a XdmValue based on the target type. Conversion is applied if possible

Parameters
type- specify target type of the value
val- Value to convert
XdmValue::XdmValue ( char *  val)
inline

A Constructor. Create an xs:string value

Parameters
val- string value
XdmValue::XdmValue ( int  val)
inline

A Constructor. Create an xs:int value

Parameters
val- int value
XdmValue::XdmValue ( jobject  val)
inline

A Constructor. Wrap an Java XdmValue object.

Parameters
val- Java XdmValue object

Member Function Documentation

const char * XdmValue::getStringValue ( SaxonProcessor p)

Get the string representation of the XdmValue.

Returns
char array
jobject XdmValue::getUnderlyingValue ( SaxonProcessor p)

Get Java XdmValue object.

Returns
jobject - The Java object of the XdmValue in its JNI representation

The documentation for this class was generated from the following files: