javax.print.attribute
Class HashPrintRequestAttributeSet

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.print.attribute.HashAttributeSet sample code for javax.print.attribute.HashAttributeSet definition code for javax.print.attribute.HashAttributeSet 
      extended by javax.print.attribute.HashPrintRequestAttributeSet
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , AttributeSet sample code for javax.print.attribute.AttributeSet definition code for javax.print.attribute.AttributeSet , PrintRequestAttributeSet sample code for javax.print.attribute.PrintRequestAttributeSet definition code for javax.print.attribute.PrintRequestAttributeSet

public class HashPrintRequestAttributeSet
extends HashAttributeSet sample code for javax.print.attribute.HashAttributeSet definition code for javax.print.attribute.HashAttributeSet
implements PrintRequestAttributeSet sample code for javax.print.attribute.PrintRequestAttributeSet definition code for javax.print.attribute.PrintRequestAttributeSet , Serializable sample code for java.io.Serializable definition code for java.io.Serializable

Class HashPrintRequestAttributeSet inherits its implementation from class HashAttributeSet sample code for javax.print.attribute.HashAttributeSet definition code for javax.print.attribute.HashAttributeSet and enforces the semantic restrictions of interface PrintRequestAttributeSet sample code for javax.print.attribute.PrintRequestAttributeSet definition code for javax.print.attribute.PrintRequestAttributeSet .

See Also:
Serialized Form

Constructor Summary
HashPrintRequestAttributeSet sample code for javax.print.attribute.HashPrintRequestAttributeSet.HashPrintRequestAttributeSet() definition code for javax.print.attribute.HashPrintRequestAttributeSet.HashPrintRequestAttributeSet() ()
          Construct a new, empty print request attribute set.
HashPrintRequestAttributeSet sample code for javax.print.attribute.HashPrintRequestAttributeSet.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttribute) definition code for javax.print.attribute.HashPrintRequestAttributeSet.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttribute) (PrintRequestAttribute sample code for javax.print.attribute.PrintRequestAttribute definition code for javax.print.attribute.PrintRequestAttribute  attribute)
          Construct a new print request attribute set, initially populated with the given value.
HashPrintRequestAttributeSet sample code for javax.print.attribute.HashPrintRequestAttributeSet.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttribute[]) definition code for javax.print.attribute.HashPrintRequestAttributeSet.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttribute[]) (PrintRequestAttribute sample code for javax.print.attribute.PrintRequestAttribute definition code for javax.print.attribute.PrintRequestAttribute [] attributes)
          Construct a new print request attribute set, initially populated with the values from the given array.
HashPrintRequestAttributeSet sample code for javax.print.attribute.HashPrintRequestAttributeSet.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttributeSet) definition code for javax.print.attribute.HashPrintRequestAttributeSet.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttributeSet) (PrintRequestAttributeSet sample code for javax.print.attribute.PrintRequestAttributeSet definition code for javax.print.attribute.PrintRequestAttributeSet  attributes)
          Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the (PrintRequestAttributeSe interface.
 
Method Summary
 
Methods inherited from class javax.print.attribute.HashAttributeSet sample code for javax.print.attribute.HashAttributeSet definition code for javax.print.attribute.HashAttributeSet
add sample code for javax.print.attribute.HashAttributeSet.add(javax.print.attribute.Attribute) definition code for javax.print.attribute.HashAttributeSet.add(javax.print.attribute.Attribute) , addAll sample code for javax.print.attribute.HashAttributeSet.addAll(javax.print.attribute.AttributeSet) definition code for javax.print.attribute.HashAttributeSet.addAll(javax.print.attribute.AttributeSet) , clear sample code for javax.print.attribute.HashAttributeSet.clear() definition code for javax.print.attribute.HashAttributeSet.clear() , containsKey sample code for javax.print.attribute.HashAttributeSet.containsKey(java.lang.Class) definition code for javax.print.attribute.HashAttributeSet.containsKey(java.lang.Class) , containsValue sample code for javax.print.attribute.HashAttributeSet.containsValue(javax.print.attribute.Attribute) definition code for javax.print.attribute.HashAttributeSet.containsValue(javax.print.attribute.Attribute) , equals sample code for javax.print.attribute.HashAttributeSet.equals(java.lang.Object) definition code for javax.print.attribute.HashAttributeSet.equals(java.lang.Object) , get sample code for javax.print.attribute.HashAttributeSet.get(java.lang.Class) definition code for javax.print.attribute.HashAttributeSet.get(java.lang.Class) , hashCode sample code for javax.print.attribute.HashAttributeSet.hashCode() definition code for javax.print.attribute.HashAttributeSet.hashCode() , isEmpty sample code for javax.print.attribute.HashAttributeSet.isEmpty() definition code for javax.print.attribute.HashAttributeSet.isEmpty() , remove sample code for javax.print.attribute.HashAttributeSet.remove(javax.print.attribute.Attribute) definition code for javax.print.attribute.HashAttributeSet.remove(javax.print.attribute.Attribute) , remove sample code for javax.print.attribute.HashAttributeSet.remove(java.lang.Class) definition code for javax.print.attribute.HashAttributeSet.remove(java.lang.Class) , size sample code for javax.print.attribute.HashAttributeSet.size() definition code for javax.print.attribute.HashAttributeSet.size() , toArray sample code for javax.print.attribute.HashAttributeSet.toArray() definition code for javax.print.attribute.HashAttributeSet.toArray()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 
Methods inherited from interface javax.print.attribute.PrintRequestAttributeSet sample code for javax.print.attribute.PrintRequestAttributeSet definition code for javax.print.attribute.PrintRequestAttributeSet
add sample code for javax.print.attribute.PrintRequestAttributeSet.add(javax.print.attribute.Attribute) definition code for javax.print.attribute.PrintRequestAttributeSet.add(javax.print.attribute.Attribute) , addAll sample code for javax.print.attribute.PrintRequestAttributeSet.addAll(javax.print.attribute.AttributeSet) definition code for javax.print.attribute.PrintRequestAttributeSet.addAll(javax.print.attribute.AttributeSet)
 
Methods inherited from interface javax.print.attribute.AttributeSet sample code for javax.print.attribute.AttributeSet definition code for javax.print.attribute.AttributeSet
clear sample code for javax.print.attribute.AttributeSet.clear() definition code for javax.print.attribute.AttributeSet.clear() , containsKey sample code for javax.print.attribute.AttributeSet.containsKey(java.lang.Class) definition code for javax.print.attribute.AttributeSet.containsKey(java.lang.Class) , containsValue sample code for javax.print.attribute.AttributeSet.containsValue(javax.print.attribute.Attribute) definition code for javax.print.attribute.AttributeSet.containsValue(javax.print.attribute.Attribute) , equals sample code for javax.print.attribute.AttributeSet.equals(java.lang.Object) definition code for javax.print.attribute.AttributeSet.equals(java.lang.Object) , get sample code for javax.print.attribute.AttributeSet.get(java.lang.Class) definition code for javax.print.attribute.AttributeSet.get(java.lang.Class) , hashCode sample code for javax.print.attribute.AttributeSet.hashCode() definition code for javax.print.attribute.AttributeSet.hashCode() , isEmpty sample code for javax.print.attribute.AttributeSet.isEmpty() definition code for javax.print.attribute.AttributeSet.isEmpty() , remove sample code for javax.print.attribute.AttributeSet.remove(javax.print.attribute.Attribute) definition code for javax.print.attribute.AttributeSet.remove(javax.print.attribute.Attribute) , remove sample code for javax.print.attribute.AttributeSet.remove(java.lang.Class) definition code for javax.print.attribute.AttributeSet.remove(java.lang.Class) , size sample code for javax.print.attribute.AttributeSet.size() definition code for javax.print.attribute.AttributeSet.size() , toArray sample code for javax.print.attribute.AttributeSet.toArray() definition code for javax.print.attribute.AttributeSet.toArray()
 

Constructor Detail

HashPrintRequestAttributeSet sample code for javax.print.attribute.HashPrintRequestAttributeSet() definition code for javax.print.attribute.HashPrintRequestAttributeSet()

public HashPrintRequestAttributeSet()
Construct a new, empty print request attribute set.


HashPrintRequestAttributeSet sample code for javax.print.attribute.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttribute) definition code for javax.print.attribute.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttribute)

public HashPrintRequestAttributeSet(PrintRequestAttribute sample code for javax.print.attribute.PrintRequestAttribute definition code for javax.print.attribute.PrintRequestAttribute  attribute)
Construct a new print request attribute set, initially populated with the given value.

Parameters:
attribute - Attribute value to add to the set.
Throws:
NullPointerException sample code for java.lang.NullPointerException definition code for java.lang.NullPointerException - (unchecked exception) Thrown if attribute is null.

HashPrintRequestAttributeSet sample code for javax.print.attribute.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttribute[]) definition code for javax.print.attribute.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttribute[])

public HashPrintRequestAttributeSet(PrintRequestAttribute sample code for javax.print.attribute.PrintRequestAttribute definition code for javax.print.attribute.PrintRequestAttribute [] attributes)
Construct a new print request attribute set, initially populated with the values from the given array. The new attribute set is populated by adding the elements of attributes array to the set in sequence, starting at index 0. Thus, later array elements may replace earlier array elements if the array contains duplicate attribute values or attribute categories.

Parameters:
attributes - Array of attribute values to add to the set. If null, an empty attribute set is constructed.
Throws:
NullPointerException sample code for java.lang.NullPointerException definition code for java.lang.NullPointerException - (unchecked exception) Thrown if any element of attributes is null.

HashPrintRequestAttributeSet sample code for javax.print.attribute.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttributeSet) definition code for javax.print.attribute.HashPrintRequestAttributeSet(javax.print.attribute.PrintRequestAttributeSet)

public HashPrintRequestAttributeSet(PrintRequestAttributeSet sample code for javax.print.attribute.PrintRequestAttributeSet definition code for javax.print.attribute.PrintRequestAttributeSet  attributes)
Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the (PrintRequestAttributeSe interface.

Parameters:
attributes - set of attribute values to initialise the set. If null, an empty attribute set is constructed.
Throws:
ClassCastException sample code for java.lang.ClassCastException definition code for java.lang.ClassCastException - (unchecked exception) Thrown if any element of attributes is not an instance of (PrintRequestAttributeSe.