< prev index next >
src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/api/SchemaCompiler.java
Print this page
*** 55,76 ****
*
* <h2>Tips: namespace URI -> package customization</h2>
* <p>
* The caller can feed the following synthesized schema
* to achive the namespace URI -> Java package customization:
! * <pre><xmp>
* <schema targetNamespace="xml.namespace.uri"
* xmlns="http://www.w3.org/2001/XMLSchema"
* xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
* jaxb:version="1.0">
* <annotation><appinfo>
* <jaxb:schemaBindings>
* <jaxb:package name="java.package.name"/>
* </jaxb:schemaBindings>
* </appinfo></annotation>
* </schema>
! * </xmp></pre>
* Feed this synthesized schema document for each namespace URI
* you need to map.
*
* @author
* Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
--- 55,76 ----
*
* <h2>Tips: namespace URI -> package customization</h2>
* <p>
* The caller can feed the following synthesized schema
* to achive the namespace URI -> Java package customization:
! * <pre>{@code
* <schema targetNamespace="xml.namespace.uri"
* xmlns="http://www.w3.org/2001/XMLSchema"
* xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
* jaxb:version="1.0">
* <annotation><appinfo>
* <jaxb:schemaBindings>
* <jaxb:package name="java.package.name"/>
* </jaxb:schemaBindings>
* </appinfo></annotation>
* </schema>
! * }</pre>
* Feed this synthesized schema document for each namespace URI
* you need to map.
*
* @author
* Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
< prev index next >