javax.print.attribute.standard
Class MultipleDocumentHandling

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

public class MultipleDocumentHandling
extends EnumSyntax
implements PrintJobAttribute, PrintRequestAttribute

The MultipleDocumentHandling printing attribute controls how certain printing attributes affect printing in case of multiple documents in a print job. This attribute is only relevant if a job has multiple documents.

IPP Compatibility: MultipleDocumentHandling is an IPP 1.1 attribute.

See Also:
Serialized Form

Field Summary
static MultipleDocumentHandling SEPARATE_DOCUMENTS_COLLATED_COPIES
          Multiple documents are treated as collated copies.
static MultipleDocumentHandling SEPARATE_DOCUMENTS_UNCOLLATED_COPIES
          Multiple documents are treated as uncollated copies.
static MultipleDocumentHandling SINGLE_DOCUMENT
          Multiple documents are treated as a single document.
static MultipleDocumentHandling SINGLE_DOCUMENT_NEW_SHEET
          Multiple documents are treated so that every single document starts with a new sheet.
 
Constructor Summary
protected MultipleDocumentHandling(int value)
          Constructs a MultipleDocumentHandling 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

SINGLE_DOCUMENT

public static final MultipleDocumentHandling SINGLE_DOCUMENT
Multiple documents are treated as a single document.


SEPARATE_DOCUMENTS_UNCOLLATED_COPIES

public static final MultipleDocumentHandling SEPARATE_DOCUMENTS_UNCOLLATED_COPIES
Multiple documents are treated as uncollated copies.


SEPARATE_DOCUMENTS_COLLATED_COPIES

public static final MultipleDocumentHandling SEPARATE_DOCUMENTS_COLLATED_COPIES
Multiple documents are treated as collated copies.


SINGLE_DOCUMENT_NEW_SHEET

public static final MultipleDocumentHandling SINGLE_DOCUMENT_NEW_SHEET
Multiple documents are treated so that every single document starts with a new sheet.

Constructor Detail

MultipleDocumentHandling

protected MultipleDocumentHandling(int value)
Constructs a MultipleDocumentHandling 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 MultipleDocumentHandling itself.

getName

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

Specified by:
getName in interface Attribute
Returns:
The name "multiple-document-handling".

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.