< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/PrinterMoreInfoManufacturer.java

Print this page

        

@@ -44,12 +44,12 @@
  * In contrast, the {@link PrinterMoreInfo PrinterMoreInfo} attribute is used
  * to find out more information about this specific printer rather than this
  * general kind of printer.
  * <P>
  * <B>IPP Compatibility:</B> The string form returned by
- * <CODE>toString()</CODE> gives the IPP uri value.
- * The category name returned by <CODE>getName()</CODE>
+ * {@code toString()} gives the IPP uri value.
+ * The category name returned by {@code getName()}
  * gives the IPP attribute name.
  *
  * @author  Alan Kaminsky
  */
 public final class PrinterMoreInfoManufacturer extends URISyntax

@@ -62,11 +62,11 @@
      * specified URI.
      *
      * @param  uri  URI.
      *
      * @exception  NullPointerException
-     *     (unchecked exception) Thrown if <CODE>uri</CODE> is null.
+     *     (unchecked exception) Thrown if {@code uri} is null.
      */
     public PrinterMoreInfoManufacturer(URI uri) {
         super (uri);
     }
 

@@ -74,22 +74,22 @@
      * Returns whether this printer more info manufacturer attribute is
      * equivalent to the passed in object. To be equivalent, all of the
      * following conditions must be true:
      * <OL TYPE=1>
      * <LI>
-     * <CODE>object</CODE> is not null.
+     * {@code object} is not null.
      * <LI>
-     * <CODE>object</CODE> is an instance of class
+     * {@code object} is an instance of class
      * PrinterMoreInfoManufacturer.
      * <LI>
      * This printer more info manufacturer attribute's URI and
-     * <CODE>object</CODE>'s URI are equal.
+     * {@code object}'s URI are equal.
      * </OL>
      *
      * @param  object  Object to compare to.
      *
-     * @return  True if <CODE>object</CODE> is equivalent to this printer
+     * @return  True if {@code object} is equivalent to this printer
      *          more info manufacturer attribute, false otherwise.
      */
     public boolean equals(Object object) {
         return (super.equals(object) &&
                 object instanceof PrinterMoreInfoManufacturer);

@@ -112,11 +112,11 @@
     /**
      * Get the name of the category of which this attribute value is an
      * instance.
      * <P>
      * For class PrinterMoreInfoManufacturer, the category name is
-     * <CODE>"printer-more-info-manufacturer"</CODE>.
+     * {@code "printer-more-info-manufacturer"}.
      *
      * @return  Attribute category name.
      */
     public final String getName() {
         return "printer-more-info-manufacturer";
< prev index next >