javax.print.attribute.standard

Class JobSheets

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.

Field Summary
static JobSheetsNONE
No job sheet is printed.
static JobSheetsSTANDARD
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.
StringgetName()
Returns the name of this attribute.
protected String[]getStringTable()
Returns a table with the enumeration values represented as strings for this object.

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.

Returns: The class JobSheets itself.

getEnumValueTable

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

Returns: The enumeration values.

getName

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

Returns: The name "job-sheets".

getStringTable

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

Returns: The enumeration values as strings.