< prev index next >
src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlSchema.java
Print this page
@@ -161,37 +161,37 @@
* is originally generated from an existing schema, hand-written to
* match externally defined schema, or the generated schema is modified
* manually.
*
* <p>
- * Value could be any absolute URI, like <tt>http://example.org/some.xsd</tt>.
+ * Value could be any absolute URI, like {@code http://example.org/some.xsd}.
* It is also possible to specify the empty string, to indicate
* that the schema is externally available but the location is
* unspecified (and thus it's the responsibility of the reader of the generate
* schema to locate it.) Finally, the default value of this property
- * <tt>"##generate"</tt> indicates that the schema generator is going
+ * {@code "##generate"} indicates that the schema generator is going
* to generate components for this namespace (as it did in JAXB 2.0.)
*
* <p>
* Multiple {@link XmlSchema} annotations on multiple packages are allowed
* to govern the same {@link #namespace()}. In such case, all of them
* must have the same {@link #location()} values.
*
*
* <h3>Note to implementor</h3>
* <p>
- * More precisely, the value must be either <tt>""</tt>, <tt>"##generate"</tt>, or
+ * More precisely, the value must be either {@code ""}, {@code "##generate"}, or
* <a href="http://www.w3.org/TR/xmlschema-2/#anyURI">
- * a valid lexical representation of <tt>xs:anyURI</tt></a> that begins
- * with <tt><scheme>:</tt>.
+ * a valid lexical representation of {@code xs:anyURI}</a> that begins
+ * with {@code <scheme>:}.
*
* <p>
* A schema generator is expected to generate a corresponding
- * <tt><xs:import namespace="..." schemaLocation="..."/></tt> (or
- * no <tt>schemaLocation</tt> attribute at all if the empty string is specified.)
+ * {@code <xs:import namespace="..." schemaLocation="..."/>} (or
+ * no {@code schemaLocation} attribute at all if the empty string is specified.)
* However, the schema generator is allowed to use a different value in
- * the <tt>schemaLocation</tt> attribute (including not generating
+ * the {@code schemaLocation} attribute (including not generating
* such attribute), for example so that the user can specify a local
* copy of the resource through the command line interface.
*
* @since 1.6, JAXB 2.1
*/
< prev index next >