Specifies Java classes that should be imported to support variables in an XML map file.
<xm:java-import
class="fullyQualifiedClassName"
/>
class
The fully-qualified name of the class.
Use the <xm:java-import> tag in an XMLMAP file just as you would use the import directive in a JAVA or JWS file. As with the Java import directive in Java code, you use <xm:java-import> to specify classes and packages needed for type context in XML maps. For example, to use Date as a short type name in XML maps, first import the Date type as follows:
<xm:java-import class="java.sql.Date"/>
You may use multiple <xm:java-import> tags, but all must occur immediately following the <xm:map-file> tag and before any XML maps.
Note: The xm prefix and its URI are declared implicitly in any JWS file. However, you must declare the namespace prefix and URI to use the prefix in XMLMAP files.