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

Print this page




  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.print.attribute.standard;
  26 
  27 import javax.print.attribute.Attribute;
  28 import javax.print.attribute.SetOfIntegerSyntax;
  29 import javax.print.attribute.SupportedValuesAttribute;
  30 
  31 /**
  32  * Class NumberUpSupported is a printing attribute class, a set of integers,
  33  * that gives the supported values for a {@link NumberUp NumberUp} attribute.
  34  * <P>
  35  * <B>IPP Compatibility:</B> The NumberUpSupported attribute's canonical array
  36  * form gives the lower and upper bound for each range of number-up to be
  37  * included in an IPP "number-up-supported" attribute. See class {@link
  38  * javax.print.attribute.SetOfIntegerSyntax SetOfIntegerSyntax} for an
  39  * explanation of canonical array form. The category name returned by
  40  * <CODE>getName()</CODE> gives the IPP attribute name.
  41  * <P>
  42  *
  43  * @author  Alan Kaminsky
  44  */
  45 public final class NumberUpSupported    extends SetOfIntegerSyntax
  46         implements SupportedValuesAttribute {
  47 
  48      private static final long serialVersionUID = -1041573395759141805L;
  49 
  50 
  51     /**
  52      * Construct a new number up supported attribute with the given members.
  53      * The supported values for NumberUp are specified in "array form;" see
  54      * class
  55      * {@link javax.print.attribute.SetOfIntegerSyntax SetOfIntegerSyntax}
  56      * for an explanation of array form.
  57      *
  58      * @param  members  Set members in array form.
  59      *
  60      * @exception  NullPointerException
  61      *     (unchecked exception) Thrown if <CODE>members</CODE> is null or




  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.print.attribute.standard;
  26 
  27 import javax.print.attribute.Attribute;
  28 import javax.print.attribute.SetOfIntegerSyntax;
  29 import javax.print.attribute.SupportedValuesAttribute;
  30 
  31 /**
  32  * Class NumberUpSupported is a printing attribute class, a set of integers,
  33  * that gives the supported values for a {@link NumberUp NumberUp} attribute.
  34  * <P>
  35  * <B>IPP Compatibility:</B> The NumberUpSupported attribute's canonical array
  36  * form gives the lower and upper bound for each range of number-up to be
  37  * included in an IPP "number-up-supported" attribute. See class {@link
  38  * javax.print.attribute.SetOfIntegerSyntax SetOfIntegerSyntax} for an
  39  * explanation of canonical array form. The category name returned by
  40  * <CODE>getName()</CODE> gives the IPP attribute name.

  41  *
  42  * @author  Alan Kaminsky
  43  */
  44 public final class NumberUpSupported    extends SetOfIntegerSyntax
  45         implements SupportedValuesAttribute {
  46 
  47      private static final long serialVersionUID = -1041573395759141805L;
  48 
  49 
  50     /**
  51      * Construct a new number up supported attribute with the given members.
  52      * The supported values for NumberUp are specified in "array form;" see
  53      * class
  54      * {@link javax.print.attribute.SetOfIntegerSyntax SetOfIntegerSyntax}
  55      * for an explanation of array form.
  56      *
  57      * @param  members  Set members in array form.
  58      *
  59      * @exception  NullPointerException
  60      *     (unchecked exception) Thrown if <CODE>members</CODE> is null or