javax.print.attribute
public class HashPrintServiceAttributeSet extends HashAttributeSet implements Serializable, PrintServiceAttributeSet
HashPrintServiceAttributeSet provides an implementation of
{@link javax.print.attribute.PrintServiceAttributeSet}.
| Constructor Summary | |
|---|---|
| HashPrintServiceAttributeSet()
Creates an empty HashPrintServiceAttributeSet object. | |
| HashPrintServiceAttributeSet(PrintServiceAttribute attribute)
Creates a HashPrintServiceAttributeSet object with the given
attribute in it.
| |
| HashPrintServiceAttributeSet(PrintServiceAttribute[] attributes)
Creates a HashPrintServiceAttributeSet object with the given
attributes in it.
| |
| HashPrintServiceAttributeSet(PrintServiceAttributeSet attributes)
Creates a HashPrintServiceAttributeSet object with the attributes
of the given attributes set in it.
| |
HashPrintServiceAttributeSet object.HashPrintServiceAttributeSet object with the given
attribute in it.
Parameters: attribute the attribute to put into the attribute set
Throws: NullPointerException if attribute is null
HashPrintServiceAttributeSet object with the given
attributes in it.
Parameters: attributes the array of attributes to put into the set. If
null an empty set is created.
Throws: NullPointerException if one of the attributes of the given array is null.
HashPrintServiceAttributeSet object with the attributes
of the given attributes set in it.
Parameters: attributes the attributes set to put into the set. If
null an empty set is created.
Throws: ClassCastException if any element of attributes is not
an instance of PrintServiceAttribute