Logo Search packages:      
Sourcecode: galax version File versions  Download package

static ItemList galapi::Galax::evalStatement ( CompiledProgram  c,
int  input_source_kind,
String  input 
) throws GalapiException [inline, static]

Given the CompiledProgram, evaluates the XQuery statement in the string argument.

if the statement is an XQuery expression, returns a list of items, otherwise if the statement is an XQuery update, returns an empty list because update statements have side effects on the data model store, but do not return values.

Definition at line 280 of file Galax.java.


      //int il = -1;

      int il = nativeEvalStatement (c.getNativeItem(), input_source_kind, input);

      return new ItemList (il);

Generated by  Doxygen 1.6.0   Back to index