Saxon/C  1.1.2
Saxon Processor library for C/C++/PHP
 All Classes Functions Variables
SaxonCXPath.h
1 #ifndef SAXONCXPATH_H
2 #define SAXONCXPATH_H
3 
4 #include "SaxonCProcessor.h"
5 
6 
7 //===============================================================================================//
8 
12 typedef struct {
13  jobject xdmvalue;
14  } sxnc_value;
15 
16 EXTERN_SAXONC
22 jobject booleanValue(sxnc_environment environi, bool);
23 
24 
30 jobject integerValue(sxnc_environment environi, int i);
31 
32 
38 jobject doubleValue(sxnc_environment environi, double d);
39 
40 
46 jobject floatValue(sxnc_environment environi, float f);
47 
48 
54 jobject longValue(sxnc_environment environi, long l);
55 
56 
62 jobject getJavaStringValue(sxnc_environment environi, const char *str);
63 
70 jobject xdmValueAsObj(sxnc_environment environi, const char* type, const char* str);
71 
78 sxnc_value * xdmValue(sxnc_environment environi, const char* type, const char* str);
79 
80 
90 sxnc_value * evaluate(sxnc_environment environi, sxnc_processor ** proc, char * cwd, char * xpathStr, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen);
91 
92 
104 bool effectiveBooleanValue(sxnc_environment environi, sxnc_processor ** proc, char * cwd, char * xpathStr, sxnc_parameter *parameters, sxnc_property * properties, int parLen, int propLen);
105 
106 
113 bool isAtomicValue(sxnc_environment environi, sxnc_value value);
114 
115 
123 int size(sxnc_environment environi, sxnc_value val);
124 
125 
133 sxnc_value * itemAt(sxnc_environment environi, sxnc_value, int i);
134 
135 
136 
137 jobject getvalue(sxnc_environment environi, sxnc_value);
138 
139 
147 const char * getStringValue(sxnc_environment environi, sxnc_value value);
148 
149 
157 int getIntegerValue(sxnc_environment environi, sxnc_value value, int failure_value);
158 
159 
160 
161 bool getBooleanValue(sxnc_environment environi, sxnc_value value);
162 
163 
164 
165 long getLongValue(sxnc_environment environi, sxnc_value value, long failureVal);
166 
167 
168 
169 float getFloatValue(sxnc_environment environi, sxnc_value value, float failureVal);
170 
171 
172 
173 double getDoubleValue(sxnc_environment environi, sxnc_value value, double failureVal);
174 
175 
176 EXTERN_SAXONC_END
177 
178 
179 
180 #endif
Definition: SaxonCProcessor.h:13
Definition: SaxonCGlue.h:80
Definition: SaxonCGlue.h:103
Definition: SaxonCGlue.h:92
Definition: SaxonCXPath.h:12