< prev index next >

src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/model/core/ElementPropertyInfo.java

Print this page

        

@@ -54,13 +54,13 @@
      * <pre>
      * // list can contain String or Integer.
      * @XmlElements({
      *   @XmlElement(name="a",type=String.class),
      *   @XmlElement(name="b",type=Integer.class),
-     * })
-     * List&lt;Object> abc;
-     * </pre>
+     * }) {@code
+     * List<Object> abc;
+     * }</pre>
      * <p>
      * In this case this method returns a list of two {@link TypeRef}s.
      *
      *
      * @return

@@ -105,11 +105,11 @@
      *
      * <p>
      * If {@link #isCollection()}==false, this property is always false.
      *
      * <p>
-     * When this flag is true, <tt>getTypes().size()==1</tt> always holds.
+     * When this flag is true, {@code getTypes().size()==1} always holds.
      */
     boolean isValueList();
 
     /**
      * Returns true if this element is mandatory.
< prev index next >