Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Java Bindings
(edit)
Revision as of 16:04, 19 July 2021
86 bytes added
,
16:04, 19 July 2021
→Functions and Variables
{{Mark|Updated with Version 9.6:}}
* With the middle dot notation, three adjacent dots can be used to specify array types.
* The path to the standard package {{Code|java.lang.}} can now be omitted.
* Java objects are now wrapped into function items.
* Results of constructor calls are always returned as function item.
* A new option {{Option|WRAPJAVA}} was added to control how Java values are converted to XQuery.
* With the middle dot notation, three adjacent dots can be used to specify array types.
* The path to the standard package {{Code|java.lang.}} can now be omitted.
* The Mapping rules were refined and unified. The most important changes:
** {{Code|array(*)}} type added.
==Functions and Variables==
Java
constructors,
functions and variables can be referenced and evaluated by the existing XQuery function syntax:
* The namespace of the function name identifies the Java class.
| <code>string.split(";", 3)</code>
|- valign="top"
|
Function
Constructor
with array argument
| <code>Q{String}new·byte...(xs:hexBinary('414243'))</code>
| <code>new String(new byte[] { 41, 42, 43 })</code>
CG
Bureaucrats
, editor, reviewer,
Administrators
13,550
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main Page
Table of Contents
Recent Changes
Random Page
PDF Version
Tools
Special pages
Printable version