Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Interface
javax.print.attribute.AttributeSet

Packages that use AttributeSet
Package Description
javax.print Provides the principal classes and interfaces for the JavaTM Print Service API. 
javax.print.attribute Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. 
 

Uses of AttributeSet in javax.print
 

Methods in javax.print that return AttributeSet
Modifier and Type Method and Description
 AttributeSet PrintService.getUnsupportedAttributes(DocFlavor flavor, AttributeSet attributes)
          Identifies the attributes that are unsupported for a print request in the context of a particular DocFlavor.
 

Methods in javax.print with parameters of type AttributeSet
Modifier and Type Method and Description
abstract  MultiDocPrintService[] PrintServiceLookup.getMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)
          Not called directly by applications.
abstract  PrintService[] PrintServiceLookup.getPrintServices(DocFlavor flavor, AttributeSet attributes)
          Locates services that can be positively confirmed to support the combination of attributes and DocFlavors specified.
 Object PrintService.getSupportedAttributeValues(Class<? extends Attribute> category, DocFlavor flavor, AttributeSet attributes)
          Determines the printing attribute values a client can specify in the given category when setting up a job for this print service.
 AttributeSet PrintService.getUnsupportedAttributes(DocFlavor flavor, AttributeSet attributes)
          Identifies the attributes that are unsupported for a print request in the context of a particular DocFlavor.
 boolean PrintService.isAttributeValueSupported(Attribute attrval, DocFlavor flavor, AttributeSet attributes)
          Determines whether a client can specify the given printing attribute value when setting up a job for this Print Service.
static MultiDocPrintService[] PrintServiceLookup.lookupMultiDocPrintServices(DocFlavor[] flavors, AttributeSet attributes)
          Locates MultiDoc print Services capable of printing MultiDocs containing all the specified doc flavors.
static PrintService[] PrintServiceLookup.lookupPrintServices(DocFlavor flavor, AttributeSet attributes)
          Locates print services capable of printing the specified DocFlavor.
 

Uses of AttributeSet in javax.print.attribute
 

Subinterfaces of AttributeSet in javax.print.attribute
Modifier and Type Interface and Description
 interface DocAttributeSet
          Interface DocAttributeSet specifies the interface for a set of doc attributes, i.e.
 interface PrintJobAttributeSet
          Interface PrintJobAttributeSet specifies the interface for a set of print job attributes, i.e.
 interface PrintRequestAttributeSet
          Interface PrintRequestAttributeSet specifies the interface for a set of print request attributes, i.e.
 interface PrintServiceAttributeSet
          Interface PrintServiceAttributeSet specifies the interface for a set of print job attributes, i.e.
 

Classes in javax.print.attribute that implement AttributeSet
Modifier and Type Class and Description
 class HashAttributeSet
          Class HashAttributeSet provides an AttributeSet implementation with characteristics of a hash map.
 class HashDocAttributeSet
          Class HashDocAttributeSet provides an attribute set which inherits its implementation from class HashAttributeSet and enforces the semantic restrictions of interface DocAttributeSet.
 class HashPrintJobAttributeSet
          Class HashPrintJobAttributeSet provides an attribute set which inherits its implementation from class HashAttributeSet and enforces the semantic restrictions of interface PrintJobAttributeSet.
 class HashPrintRequestAttributeSet
          Class HashPrintRequestAttributeSet inherits its implementation from class HashAttributeSet and enforces the semantic restrictions of interface PrintRequestAttributeSet.
 class HashPrintServiceAttributeSet
          Class HashPrintServiceAttributeSet provides an attribute set which inherits its implementation from class HashAttributeSet and enforces the semantic restrictions of interface PrintServiceAttributeSet.
 

Methods in javax.print.attribute that return AttributeSet
Modifier and Type Method and Description
static AttributeSet AttributeSetUtilities.synchronizedView(AttributeSet attributeSet)
          Creates a synchronized view of the given attribute set.
static AttributeSet AttributeSetUtilities.unmodifiableView(AttributeSet attributeSet)
          Creates an unmodifiable view of the given attribute set.
 

Methods in javax.print.attribute with parameters of type AttributeSet
Modifier and Type Method and Description
 boolean HashAttributeSet.addAll(AttributeSet attributes)
          Adds all of the elements in the specified set to this attribute.
 boolean DocAttributeSet.addAll(AttributeSet attributes)
          Adds all of the elements in the specified set to this attribute.
 boolean PrintJobAttributeSet.addAll(AttributeSet attributes)
          Adds all of the elements in the specified set to this attribute.
 boolean PrintServiceAttributeSet.addAll(AttributeSet attributes)
          Adds all of the elements in the specified set to this attribute.
 boolean AttributeSet.addAll(AttributeSet attributes)
          Adds all of the elements in the specified set to this attribute.
 boolean PrintRequestAttributeSet.addAll(AttributeSet attributes)
          Adds all of the elements in the specified set to this attribute.
static AttributeSet AttributeSetUtilities.synchronizedView(AttributeSet attributeSet)
          Creates a synchronized view of the given attribute set.
static AttributeSet AttributeSetUtilities.unmodifiableView(AttributeSet attributeSet)
          Creates an unmodifiable view of the given attribute set.
 

Constructors in javax.print.attribute with parameters of type AttributeSet
Constructor and Description
HashAttributeSet(AttributeSet attributes)
          Construct a new attribute set, initially populated with the values from the given set.
HashAttributeSet(AttributeSet attributes, Class<?> interfaceName)
          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 given interface.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.