Changes

Jump to navigation Jump to search
225 bytes added ,  11:55, 4 January 2011
no edit summary
<pre class="brush:xquery">declare namespace math = "java:java.lang.Math";
math:cos(xs:double(0))
</pre>  Note: To call a method directly it has to be set to <code>static</code> in you java code.
The next example writes 256 bytes to the file <code>output.txt</code>:
)
</pre>
 
Note: To call the <code>write</code> method of the filewriter you have to pass a
filewriter-object as first parameter to the method.
==Try/Catch==
bueraucrat, Bureaucrats, editor, reviewer, Administrators
907

edits

Navigation menu