< prev index next >

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

Print this page

        

@@ -42,11 +42,11 @@
  *
  * <pre>
  * @XmlElements({ @XmlElement(...),@XmlElement(...) })
  * </pre>
  *
- * <p>The <tt>@XmlElements</tt> annotation can be used with the
+ * <p>The {@code @XmlElements} annotation can be used with the
  * following program elements: </p>
  * <ul>
  *   <li> a JavaBean property </li>
  *   <li> non static, non transient field </li>
  * </ul>

@@ -60,11 +60,11 @@
  * <ul>
  *   <li> This annotation can be used with the following
  *        annotations: @{@link XmlIDREF}, @{@link XmlElementWrapper}. </li>
  *   <li> If @XmlIDREF is also specified on the JavaBean property,
  *        then each @XmlElement.type() must contain a JavaBean
- *        property annotated with <tt>@XmlID</tt>.</li>
+ *        property annotated with {@code @XmlID}.</li>
  * </ul>
  *
  * <p>See "Package Specification" in javax.xml.bind.package javadoc for
  * additional common information.</p>
  *
< prev index next >