A Java variable is retrieved, and a Java function is invoked, by a usual XQuery function call. The namespace of its QName identifies the class, and the local part, which is rewritten to camel case, identifies a variable or function of that class:
{| class="wikitable sortable" width="100%"
|- valign="top"
! Type
| <code>Object#hashCode()</code>
|}
As values in XQuery and Java are of different type, function arguments and results must be mapped. The supported mappings are provided [[#Data Tyes|at the end]] of this article.
=Namespace Declarations=