jdk/src/share/classes/javax/print/attribute/standard/PrinterIsAcceptingJobs.java
changeset 21278 ef8a3a2a72f2
parent 5506 202f599c92aa
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    37  * NOT_ACCEPTING_JOBS, the printer will reject jobs even when the {@link
    37  * NOT_ACCEPTING_JOBS, the printer will reject jobs even when the {@link
    38  * PrinterState PrinterState} is IDLE. If value is ACCEPTING_JOBS, the Printer
    38  * PrinterState PrinterState} is IDLE. If value is ACCEPTING_JOBS, the Printer
    39  * will accept jobs even when the {@link PrinterState PrinterState} is STOPPED.
    39  * will accept jobs even when the {@link PrinterState PrinterState} is STOPPED.
    40  * <P>
    40  * <P>
    41  * <B>IPP Compatibility:</B> The IPP boolean value is "true" for ACCEPTING_JOBS
    41  * <B>IPP Compatibility:</B> The IPP boolean value is "true" for ACCEPTING_JOBS
    42  * and "false" for NOT_ACCEPTING_JOBS. TThe category name returned by
    42  * and "false" for NOT_ACCEPTING_JOBS. The category name returned by
    43  * <CODE>getName()</CODE> is the IPP attribute name.  The enumeration's
    43  * <CODE>getName()</CODE> is the IPP attribute name.  The enumeration's
    44  * integer value is the IPP enum value.  The <code>toString()</code> method
    44  * integer value is the IPP enum value.  The <code>toString()</code> method
    45  * returns the IPP string representation of the attribute value.
    45  * returns the IPP string representation of the attribute value.
    46  * <P>
    46  * <P>
    47  *
    47  *
    57      */
    57      */
    58     public static final PrinterIsAcceptingJobs
    58     public static final PrinterIsAcceptingJobs
    59         NOT_ACCEPTING_JOBS = new PrinterIsAcceptingJobs(0);
    59         NOT_ACCEPTING_JOBS = new PrinterIsAcceptingJobs(0);
    60 
    60 
    61     /**
    61     /**
    62      * The printer is currently acccepting jobs.
    62      * The printer is currently accepting jobs.
    63      */
    63      */
    64     public static final PrinterIsAcceptingJobs
    64     public static final PrinterIsAcceptingJobs
    65         ACCEPTING_JOBS = new PrinterIsAcceptingJobs(1);
    65         ACCEPTING_JOBS = new PrinterIsAcceptingJobs(1);
    66 
    66 
    67     /**
    67     /**