< prev index next >

src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlEnum.java

Print this page

        

@@ -37,11 +37,11 @@
  * <p>This annotation, together with {@link XmlEnumValue} provides a
  * mapping of enum type to XML representation.
  *
  * <p> <b>Usage</b> </p>
  * <p>
- * The <tt>@XmlEnum</tt> annotation can be used with the
+ * The {@code @XmlEnum} annotation can be used with the
  * following program elements:
  * <ul>
  *   <li>enum type</li>
  * </ul>
  *

@@ -54,13 +54,13 @@
  * <p>See "Package Specification" in javax.xml.bind.package javadoc for
  * additional common information </p>
  *
  * <p>An enum type is mapped to a schema simple type with enumeration
  * facets. The schema type is derived from the Java type to which
- * <tt>@XmlEnum.value()</tt>. Each enum constant <tt>@XmlEnumValue</tt>
+ * {@code @XmlEnum.value()}. Each enum constant {@code @XmlEnumValue}
  * must have a valid lexical representation for the type
- * <tt>@XmlEnum.value()</tt> .
+ * {@code @XmlEnum.value()}.
  *
  * <p><b>Examples:</b> See examples in {@link XmlEnumValue}
  *
  * @since 1.6, JAXB 2.0
  */
< prev index next >