src/share/classes/javax/print/attribute/standard/PrinterMoreInfo.java

Print this page




  32 
  33 /**
  34  * Class PrinterMoreInfo is a printing attribute class, a URI, that is used to
  35  * obtain more information about this specific printer. For example, this
  36  * could be an HTTP type URI referencing an HTML page accessible to a web
  37  * browser. The information obtained from this URI is intended for end user
  38  * consumption. Features outside the scope of the Print Service API can be
  39  * accessed from this URI.
  40  * The information is intended to be specific to this printer instance and
  41  * site specific services (e.g. job pricing, services offered, end user
  42  * assistance).
  43  * <P>
  44  * In contrast, the {@link PrinterMoreInfoManufacturer
  45  * PrinterMoreInfoManufacturer} attribute is used to find out more information
  46  * about this general kind of printer rather than this specific printer.
  47  * <P>
  48  * <B>IPP Compatibility:</B> The string form returned by
  49  * <CODE>toString()</CODE>  gives the IPP uri value.
  50  * The category name returned by <CODE>getName()</CODE>
  51  * gives the IPP attribute name.
  52  * <P>
  53  *
  54  * @author  Alan Kaminsky
  55  */
  56 public final class PrinterMoreInfo extends URISyntax
  57         implements PrintServiceAttribute {
  58 
  59     private static final long serialVersionUID = 4555850007675338574L;
  60 
  61     /**
  62      * Constructs a new printer more info attribute with the specified URI.
  63      *
  64      * @param  uri  URI.
  65      *
  66      * @exception  NullPointerException
  67      *     (unchecked exception) Thrown if <CODE>uri</CODE> is null.
  68      */
  69     public PrinterMoreInfo(URI uri) {
  70         super (uri);
  71     }
  72 




  32 
  33 /**
  34  * Class PrinterMoreInfo is a printing attribute class, a URI, that is used to
  35  * obtain more information about this specific printer. For example, this
  36  * could be an HTTP type URI referencing an HTML page accessible to a web
  37  * browser. The information obtained from this URI is intended for end user
  38  * consumption. Features outside the scope of the Print Service API can be
  39  * accessed from this URI.
  40  * The information is intended to be specific to this printer instance and
  41  * site specific services (e.g. job pricing, services offered, end user
  42  * assistance).
  43  * <P>
  44  * In contrast, the {@link PrinterMoreInfoManufacturer
  45  * PrinterMoreInfoManufacturer} attribute is used to find out more information
  46  * about this general kind of printer rather than this specific printer.
  47  * <P>
  48  * <B>IPP Compatibility:</B> The string form returned by
  49  * <CODE>toString()</CODE>  gives the IPP uri value.
  50  * The category name returned by <CODE>getName()</CODE>
  51  * gives the IPP attribute name.

  52  *
  53  * @author  Alan Kaminsky
  54  */
  55 public final class PrinterMoreInfo extends URISyntax
  56         implements PrintServiceAttribute {
  57 
  58     private static final long serialVersionUID = 4555850007675338574L;
  59 
  60     /**
  61      * Constructs a new printer more info attribute with the specified URI.
  62      *
  63      * @param  uri  URI.
  64      *
  65      * @exception  NullPointerException
  66      *     (unchecked exception) Thrown if <CODE>uri</CODE> is null.
  67      */
  68     public PrinterMoreInfo(URI uri) {
  69         super (uri);
  70     }
  71