< prev index next >
src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlElementWrapper.java
Print this page
@@ -59,11 +59,11 @@
* represented either by absence or presence of an element with a
* nillable attribute.
*
* <p> <b>Usage</b> </p>
* <p>
- * The <tt>@XmlElementWrapper</tt> annotation can be used with the
+ * The {@code @XmlElementWrapper} annotation can be used with the
* following program elements:
* <ul>
* <li> JavaBean property </li>
* <li> non static, non transient field </li>
* </ul>
@@ -118,21 +118,21 @@
*/
String namespace() default "##default";
/**
* If true, the absence of the collection is represented by
- * using <tt>xsi:nil='true'</tt>. Otherwise, it is represented by
+ * using {@code xsi:nil='true'}. Otherwise, it is represented by
* the absence of the element.
*/
boolean nillable() default false;
/**
* Customize the wrapper element declaration to be required.
*
* <p>
* If required() is true, then the corresponding generated
- * XML schema element declaration will have <tt>minOccurs="1"</tt>,
+ * XML schema element declaration will have {@code minOccurs="1"},
* to indicate that the wrapper element is always expected.
*
* <p>
* Note that this only affects the schema generation, and
* not the unmarshalling or marshalling capability. This is
< prev index next >