javax.print.attribute
public class HashDocAttributeSet extends HashAttributeSet implements DocAttributeSet, Serializable
HashDocAttributeSet
provides an implementation of
{@link javax.print.attribute.DocAttributeSet}.
Constructor Summary | |
---|---|
HashDocAttributeSet()
Creates an empty HashDocAttributeSet object. | |
HashDocAttributeSet(DocAttribute attribute)
Creates a HashDocAttributeSet object with the given
attribute in it.
| |
HashDocAttributeSet(DocAttribute[] attributes)
Creates a HashDocAttributeSet object with the given
attributes in it.
| |
HashDocAttributeSet(DocAttributeSet attributes)
Creates a HashDocAttributeSet object with the attributes
of the given attributes set in it.
|
HashDocAttributeSet
object.HashDocAttributeSet
object with the given
attribute in it.
Parameters: attribute the attribute to put into the attribute set
Throws: NullPointerException if attribute is null
HashDocAttributeSet
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.
HashDocAttributeSet
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 DocAttribute