< prev index next >

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

Print this page

        

@@ -33,11 +33,11 @@
 /**
  * Maps an enum constant in {@link Enum} type to XML representation.
  *
  * <p> <b>Usage</b> </p>
  *
- * <p> The <tt>@XmlEnumValue</tt> annotation can be used with the
+ * <p> The {@code @XmlEnumValue} annotation can be used with the
  *     following program elements:
  * <ul>
  *   <li>enum constant</li>
  * </ul>
  *

@@ -47,13 +47,13 @@
  * <p>This annotation, together with {@link XmlEnum} provides a
  * mapping of enum type to XML representation.
  *
  * <p>An enum type is mapped to a schema simple type with enumeration
  * facets. The schema type is derived from the Java type specified in
- * <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> In the absence of this annotation, {@link Enum#name()} is used
  * as the XML representation.
  *
  * <p> <b>Example 1: </b>Map enum constant name {@literal ->} enumeration facet</p>
< prev index next >