API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute. AttributeSetUtilities View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      AttributeSetUtilities
Implements
Subclasses
Description
publicfinal class AttributeSetUtilities
  Class AttributeSetUtilities provides static methods for manipulating AttributeSets.
See also:   
Constructors
private AttributeSetUtilities ()
Methods
Hide/Show inherited methods
publicstatic AttributeSet synchronizedView (AttributeSet attributeSet)
  Creates a synchronized view of the given attribute set.
publicstatic DocAttributeSet synchronizedView (DocAttributeSet attributeSet)
  Creates a synchronized view of the given doc attribute set.
publicstatic PrintJobAttributeSet synchronizedView (PrintJobAttributeSet attributeSet)
  Creates a synchronized view of the given print job attribute set.
publicstatic PrintRequestAttributeSet synchronizedView (PrintRequestAttributeSet attributeSet)
  Creates a synchronized view of the given print request attribute set.
publicstatic PrintServiceAttributeSet synchronizedView (PrintServiceAttributeSet attributeSet)
  Creates a synchronized view of the given print service attribute set.
publicstatic AttributeSet unmodifiableView (AttributeSet attributeSet)
  Creates an unmodifiable view of the given attribute set.
publicstatic DocAttributeSet unmodifiableView (DocAttributeSet attributeSet)
  Creates an unmodifiable view of the given doc attribute set.
publicstatic PrintJobAttributeSet unmodifiableView (PrintJobAttributeSet attributeSet)
  Creates an unmodifiable view of the given print job attribute set.
publicstatic PrintRequestAttributeSet unmodifiableView (PrintRequestAttributeSet attributeSet)
  Creates an unmodifiable view of the given print request attribute set.
publicstatic PrintServiceAttributeSet unmodifiableView (PrintServiceAttributeSet attributeSet)
  Creates an unmodifiable view of the given print service attribute set.
publicstatic Class<Object> verifyAttributeCategory (Object object, Class<Object> interfaceName)
  Verify that the given object is a Class that implements the given interface, which is assumed to be interface Attribute or a subinterface thereof.
publicstatic Attribute verifyAttributeValue (Object object, Class<Object> interfaceName)
  Verify that the given object is an instance of the given interface, which is assumed to be interface Attribute or a subinterface thereof.
publicstatic void verifyCategoryForValue (Class<Object> category, Attribute attribute)
  Verify that the given attribute category object is equal to the category of the given attribute value object.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar