javax.print.attribute.standard
Class JobSheets

java.lang.Object
  extended by javax.print.attribute.EnumSyntax
      extended by javax.print.attribute.standard.JobSheets
All Implemented Interfaces:
Serializable, Cloneable, Attribute, PrintJobAttribute, PrintRequestAttribute

public class JobSheets
extends EnumSyntax
implements PrintJobAttribute, PrintRequestAttribute

The JobSheets printing attribute specifies if a job start/end sheets should be printed.

IPP Compatibility: JobSheets is an IPP 1.1 attribute.

See Also:
Serialized Form

Field Summary
static JobSheets NONE
          No job sheet is printed.
static JobSheets STANDARD
          The standard job sheet is printed.
 
Constructor Summary
protected JobSheets(int value)
          Constructs a JobSheets object.
 
Method Summary
 Class<? extends Attribute> getCategory()
          Returns category of this class.
protected  EnumSyntax[] getEnumValueTable()
          Returns a table with the enumeration values for this object.
 String getName()
          Returns the name of this attribute.
protected  String[] getStringTable()
          Returns a table with the enumeration values represented as strings for this object.
 
Methods inherited from class javax.print.attribute.EnumSyntax
clone, getOffset, getValue, hashCode, readResolve, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final JobSheets NONE
No job sheet is printed.


STANDARD

public static final JobSheets STANDARD
The standard job sheet is printed. The sheet and if it is printed only as start sheet or also as end sheet is site specific.

Constructor Detail

JobSheets

protected JobSheets(int value)
Constructs a JobSheets object.

Parameters:
value - the enum value.
Method Detail

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Specified by:
getCategory in interface Attribute
Returns:
The class JobSheets itself.

getName

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

Specified by:
getName in interface Attribute
Returns:
The name "job-sheets".

getStringTable

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

Overrides:
getStringTable in class EnumSyntax
Returns:
The enumeration values as strings.

getEnumValueTable

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

Overrides:
getEnumValueTable in class EnumSyntax
Returns:
The enumeration values.