Java API Documentation
Zorba provides two Java language bindings:
-
a language binding generated using SWIG that is similar to the bindings for Ruby or Python
-
a binding that implements the XQuery API for Java (XQJ)
Although, the XQJ binding is currently implemented entirely on top of the SWIG binding, we encourage people to only use the XQJ binding. The SWIG generated binding might be deprecated in the future.
Note for non-C++ language bindings
Zorba's current API documentation is generated from the C++ source. The Java language API is derived directly from this. The information contained in this documentation is accurate for Java, although it will look somewhat odd.To start with, this is a simple example that demonstrate how to use the SWIG generated binding to create, compile, and execute queries: