Changes

Jump to navigation Jump to search
38 bytes removed ,  19:14, 21 January 2011
no edit summary
Note: To call a method directly it has to be set as <code>static</code> in you java code.
The next example writes 256 bytes to the file <code>output.txt</code>.To call the <code>write</code> method of the FileWriter class,you have to pass a class instance as first argument:
<pre class="brush:xquery">declare namespace fw = &quot;java:java.io.FileWriter&quot;;
)
</pre>
 
Note: To call the <code>write</code> method of the filewriter class you have to pass a
instantiated filewriter-object as first parameter to the method.
[[Category:XQuery]]
[[Category:Language Bindings]]
Bureaucrats, editor, reviewer, Administrators
13,551

edits

Navigation menu