javax.print.attribute.standard

Class JobHoldUntil

public final class JobHoldUntil extends DateTimeSyntax implements PrintJobAttribute, PrintRequestAttribute

The JobHoldUntil attribute specifies the date and the time at which a print job must become a candidate for printing.

IPP Compatibility: JobHoldUntil is an IPP 1.1 attribute. However the attribute in IPP is based on keywords of named time periods like day-time or evening. It will depend on the concrete implementation of a print service how a mapping of the detailed provided date and time of this attribute to the named keyword or an alternate extension attribute will be done. E.g. CUPS supports also a HH:MM format as extension to the keywords.

Constructor Summary
JobHoldUntil(Date value)
Creates a JobHoldUntil object.
Method Summary
booleanequals(Object obj)
Tests if the given object is equal to this object.
Class<? extends Attribute>getCategory()
Returns category of this class.
StringgetName()
Returns the name of this attribute.

Constructor Detail

JobHoldUntil

public JobHoldUntil(Date value)
Creates a JobHoldUntil object.

Parameters: value the date to hold the job until

Throws: NullPointerException if value is null

Method Detail

equals

public boolean equals(Object obj)
Tests if the given object is equal to this object.

Parameters: obj the object to test

Returns: true if both objects are equal, false otherwise.

getCategory

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

Returns: The class JobHoldUntil itself.

getName

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

Returns: The name "job-hold-until".