src/share/classes/javax/print/attribute/standard/PDLOverrideSupported.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.EnumSyntax;
  29 import javax.print.attribute.PrintServiceAttribute;
  30 
  31 /**
  32  * Class PDLOverrideSupported is a printing attribute class, an enumeration,
  33  * that expresses the printer's ability to attempt to override processing
  34  * instructions embedded in documents' print data with processing instructions
  35  * specified as attributes outside the print data.
  36  * <P>
  37  * <B>IPP Compatibility:</B> The category name returned by
  38  * <CODE>getName()</CODE> is the IPP attribute name.  The enumeration's
  39  * integer value is the IPP enum value.  The <code>toString()</code> method
  40  * returns the IPP string representation of the attribute value.
  41  * <P>
  42  *
  43  * @author  Alan Kaminsky
  44  */
  45 public class PDLOverrideSupported extends EnumSyntax
  46     implements PrintServiceAttribute {
  47 
  48     private static final long serialVersionUID = -4393264467928463934L;
  49 
  50     /**
  51      * The printer makes no attempt to make the external job attribute values
  52      * take precedence over embedded instructions in the documents' print
  53      * data.
  54      */
  55     public static final PDLOverrideSupported
  56         NOT_ATTEMPTED = new PDLOverrideSupported(0);
  57 
  58     /**
  59      * The printer attempts to make the external job attribute values take
  60      * precedence over embedded instructions in the documents' print data,
  61      * however there is no guarantee.




  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.EnumSyntax;
  29 import javax.print.attribute.PrintServiceAttribute;
  30 
  31 /**
  32  * Class PDLOverrideSupported is a printing attribute class, an enumeration,
  33  * that expresses the printer's ability to attempt to override processing
  34  * instructions embedded in documents' print data with processing instructions
  35  * specified as attributes outside the print data.
  36  * <P>
  37  * <B>IPP Compatibility:</B> The category name returned by
  38  * <CODE>getName()</CODE> is the IPP attribute name.  The enumeration's
  39  * integer value is the IPP enum value.  The <code>toString()</code> method
  40  * returns the IPP string representation of the attribute value.

  41  *
  42  * @author  Alan Kaminsky
  43  */
  44 public class PDLOverrideSupported extends EnumSyntax
  45     implements PrintServiceAttribute {
  46 
  47     private static final long serialVersionUID = -4393264467928463934L;
  48 
  49     /**
  50      * The printer makes no attempt to make the external job attribute values
  51      * take precedence over embedded instructions in the documents' print
  52      * data.
  53      */
  54     public static final PDLOverrideSupported
  55         NOT_ATTEMPTED = new PDLOverrideSupported(0);
  56 
  57     /**
  58      * The printer attempts to make the external job attribute values take
  59      * precedence over embedded instructions in the documents' print data,
  60      * however there is no guarantee.