< prev index next >

src/java.desktop/share/classes/javax/print/attribute/Attribute.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -26,12 +26,12 @@
 package javax.print.attribute;
 
 import java.io.Serializable;
 
 /**
- * Interface Attribute is the base interface implemented by any and every
- * printing attribute class to indicate that the class represents a
+ * Interface {@code Attribute} is the base interface implemented by any and
+ * every printing attribute class to indicate that the class represents a
  * printing attribute. All printing attributes are serializable.
  *
  * @author  David Mendenhall
  * @author  Alan Kaminsky
  */

@@ -39,24 +39,23 @@
 
   /**
    * Get the printing attribute class which is to be used as the "category"
    * for this printing attribute value when it is added to an attribute set.
    *
-   * @return  Printing attribute class (category), an instance of class
-   *          {@link java.lang.Class java.lang.Class}.
+     * @return printing attribute class (category), an instance of class
+     *         {@link Class java.lang.Class}
    */
   public Class<? extends Attribute> getCategory();
 
   /**
    * Get the name of the category of which this attribute value is an
    * instance.
-   * <P>
-   * <I>Note:</I> This method is intended to provide a default, nonlocalized
+     * <p>
+     * <i>Note:</i> This method is intended to provide a default, nonlocalized
    * string for the attribute's category. If two attribute objects return the
-   * same category from the {@code getCategory()} method, they should
-   * return the same name from the {@code getName()} method.
+     * same category from the {@code getCategory()} method, they should return
+     * the same name from the {@code getName()} method.
    *
-   * @return  Attribute category name.
+     * @return attribute category name
    */
   public String getName();
-
 }
< prev index next >