Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.supported
Class OperationsSupported  view OperationsSupported download OperationsSupported.java

java.lang.Object
  extended byjavax.print.attribute.EnumSyntax
      extended bygnu.javax.print.ipp.attribute.supported.OperationsSupported
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, java.io.Serializable, javax.print.attribute.SupportedValuesAttribute

public final class OperationsSupported
extends javax.print.attribute.EnumSyntax
implements javax.print.attribute.SupportedValuesAttribute

OperationsSupported specifies the enums of the operations supported by a given printer or job object. The attribute is further specified in RFC 2911 section 4.4.15.


Field Summary
static OperationsSupported CANCEL_JOB
          Operation to cancel a job by its ID or name.
static OperationsSupported CREATE_JOB
          Operation to create an initial job for use with multiple document per job.
private static OperationsSupported[] enumValueTable
           
static OperationsSupported GET_JOB_ATTRIBUTES
          Operation to get job attributes of a current job.
static OperationsSupported GET_JOBS
          Operation to get all currently queued or processed jobs.
static OperationsSupported GET_PRINTER_ATTRIBUTES
          Operation to get the attributes of a printer.
static OperationsSupported HOLD_JOB
          Operation to put a job on hold by its ID or name.
static OperationsSupported PAUSE_PRINTER
          Operation to pause a printer.
static OperationsSupported PRINT_JOB
          Operation to print a job in one request/response.
static OperationsSupported PRINT_URI
          Operation to print a document from an URI
static OperationsSupported PURGE_JOBS
          Operation to remove all jobs from a printer regardless of state.
static OperationsSupported RELEASE_JOB
          Operation to release a job by its ID or name.
static OperationsSupported RESERVED
          Not yet an operation - reserved for futher use.
static OperationsSupported RESTART_JOB
          Operation to restart a job by its ID or name.
static OperationsSupported RESUME_PRINTER
          Operation to resume a printer.
static OperationsSupported SEND_DOCUMENT
          Operation to send a document to a multidoc job created via CREATE_JOB
static OperationsSupported SEND_URI
          Operation to send a document uri to a multidoc job created via CREATE_JOB.
private static java.lang.String[] stringTable
           
static OperationsSupported VALIDATE_JOB
          Operation to validate a job before submission.
 
Fields inherited from class javax.print.attribute.EnumSyntax
 
Constructor Summary
protected OperationsSupported(int value)
          Constructs a OperationsSupported object.
 
Method Summary
 java.lang.Class getCategory()
          Returns category of this class.
protected  javax.print.attribute.EnumSyntax[] getEnumValueTable()
          Returns a table with the enumeration values for this object.
 java.lang.String getName()
          Returns the name of this attribute.
protected  int getOffset()
          Returns the lowest used value by the enumerations of this class.
protected  java.lang.String[] getStringTable()
          Returns a table with the enumeration values represented as strings for this object.
 
Methods inherited from class javax.print.attribute.EnumSyntax
clone, getValue, hashCode, readResolve, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PRINT_JOB

public static final OperationsSupported PRINT_JOB
Operation to print a job in one request/response.


PRINT_URI

public static final OperationsSupported PRINT_URI
Operation to print a document from an URI


VALIDATE_JOB

public static final OperationsSupported VALIDATE_JOB
Operation to validate a job before submission.


CREATE_JOB

public static final OperationsSupported CREATE_JOB
Operation to create an initial job for use with multiple document per job.


SEND_DOCUMENT

public static final OperationsSupported SEND_DOCUMENT
Operation to send a document to a multidoc job created via CREATE_JOB


SEND_URI

public static final OperationsSupported SEND_URI
Operation to send a document uri to a multidoc job created via CREATE_JOB. The document accessible from this URI will be printed.


CANCEL_JOB

public static final OperationsSupported CANCEL_JOB
Operation to cancel a job by its ID or name.


GET_JOB_ATTRIBUTES

public static final OperationsSupported GET_JOB_ATTRIBUTES
Operation to get job attributes of a current job.


PAUSE_PRINTER

public static final OperationsSupported PAUSE_PRINTER
Operation to pause a printer.


GET_JOBS

public static final OperationsSupported GET_JOBS
Operation to get all currently queued or processed jobs.


GET_PRINTER_ATTRIBUTES

public static final OperationsSupported GET_PRINTER_ATTRIBUTES
Operation to get the attributes of a printer.


HOLD_JOB

public static final OperationsSupported HOLD_JOB
Operation to put a job on hold by its ID or name.


RELEASE_JOB

public static final OperationsSupported RELEASE_JOB
Operation to release a job by its ID or name.


RESTART_JOB

public static final OperationsSupported RESTART_JOB
Operation to restart a job by its ID or name.


RESERVED

public static final OperationsSupported RESERVED
Not yet an operation - reserved for futher use.


RESUME_PRINTER

public static final OperationsSupported RESUME_PRINTER
Operation to resume a printer.


PURGE_JOBS

public static final OperationsSupported PURGE_JOBS
Operation to remove all jobs from a printer regardless of state.


stringTable

private static final java.lang.String[] stringTable

enumValueTable

private static final OperationsSupported[] enumValueTable
Constructor Detail

OperationsSupported

protected OperationsSupported(int value)
Constructs a OperationsSupported object.

Method Detail

getCategory

public java.lang.Class getCategory()
Returns category of this class.

Specified by:
getCategory in interface javax.print.attribute.Attribute

getName

public java.lang.String getName()
Returns the name of this attribute.

Specified by:
getName in interface javax.print.attribute.Attribute

getStringTable

protected java.lang.String[] getStringTable()
Returns a table with the enumeration values represented as strings for this object.


getEnumValueTable

protected javax.print.attribute.EnumSyntax[] getEnumValueTable()
Returns a table with the enumeration values for this object.


getOffset

protected int getOffset()
Description copied from class: javax.print.attribute.EnumSyntax
Returns the lowest used value by the enumerations of this class. The default implementation returns 0. This is enough if enumerations start with a zero value. Otherwise subclasses need to override this method for serialization and return the lowest value they use. .