< prev index next >

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

Print this page

        

*** 44,55 **** * 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> * gives the IPP attribute name. * * @author Alan Kaminsky */ public final class PrinterMoreInfoManufacturer extends URISyntax --- 44,55 ---- * 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()} 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,72 **** * specified URI. * * @param uri URI. * * @exception NullPointerException ! * (unchecked exception) Thrown if <CODE>uri</CODE> is null. */ public PrinterMoreInfoManufacturer(URI uri) { super (uri); } --- 62,72 ---- * specified URI. * * @param uri URI. * * @exception NullPointerException ! * (unchecked exception) Thrown if {@code uri} is null. */ public PrinterMoreInfoManufacturer(URI uri) { super (uri); }
*** 74,95 **** * 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. * <LI> ! * <CODE>object</CODE> is an instance of class * PrinterMoreInfoManufacturer. * <LI> * This printer more info manufacturer attribute's URI and ! * <CODE>object</CODE>'s URI are equal. * </OL> * * @param object Object to compare to. * ! * @return True if <CODE>object</CODE> is equivalent to this printer * more info manufacturer attribute, false otherwise. */ public boolean equals(Object object) { return (super.equals(object) && object instanceof PrinterMoreInfoManufacturer); --- 74,95 ---- * 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} is not null. * <LI> ! * {@code object} is an instance of class * PrinterMoreInfoManufacturer. * <LI> * This printer more info manufacturer attribute's URI and ! * {@code object}'s URI are equal. * </OL> * * @param object Object to compare to. * ! * @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,122 **** /** * 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>. * * @return Attribute category name. */ public final String getName() { return "printer-more-info-manufacturer"; --- 112,122 ---- /** * 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"}. * * @return Attribute category name. */ public final String getName() { return "printer-more-info-manufacturer";
< prev index next >