Changes

Jump to navigation Jump to search
48 bytes removed ,  18:39, 1 December 2023
m
Text replacement - "syntaxhighlight" to "pre"
Contents of the file {{Code|Hello.java}} (comments removed):
<syntaxhighlight pre lang="java">
package org.basex.modules;
public class Hello {
; Java class {{Code|Hello.java}}:
<syntaxhighlight pre lang="java">
package org.basex.modules;
* Apart from the package descriptor <code>expath-pkg.xml</code>, the package has to contain a descriptor file at its root, defining the included jars and the binary names of their public classes. It must be named <code>basex.xml</code> and must conform to the following structure:
<syntaxhighlight pre lang="xml">
<package xmlns="http://expath.org/ns/pkg">
<jar>...</jar>
Suppose we have a simple class <code>Printer</code> having just one public method <code>print()</code>:
<syntaxhighlight pre lang="java">
package test;
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu