Uses of Interface javax.print.attribute.AttributeSet (Java SE 14 & JDK 14)
Description: use: module: java.desktop, package: javax.print.attribute, interface: AttributeSet

# Uses of Interface
javax.print.attribute.AttributeSet

Packages that use AttributeSet
Package | Description
--- | ---
javax.print | Provides the principal classes and interfaces for the Java™ Print Service API.
javax.print.attribute | Provides classes and interfaces that describe the types of Java™ 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 | 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 | 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 | Description
  --- | --- | ---
  `interface` | `DocAttributeSet` | Interface `DocAttributeSet` specifies the interface for a set of doc attributes, i.e. printing attributes that implement interface `DocAttribute`.
  `interface` | `PrintJobAttributeSet` | Interface `PrintJobAttributeSet` specifies the interface for a set of print job attributes, i.e. printing attributes that implement interface `PrintJobAttribute`.
  `interface` | `PrintRequestAttributeSet` | Interface `PrintRequestAttributeSet` specifies the interface for a set of print request attributes, i.e. printing attributes that implement interface `PrintRequestAttribute`.
  `interface` | `PrintServiceAttributeSet` | Interface `PrintServiceAttributeSet` specifies the interface for a set of print job attributes, i.e. printing attributes that implement interface `PrintServiceAttribute`.

  Classes in javax.print.attribute that implement AttributeSet
  Modifier and Type | Class | 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 | 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 | Description
  --- | --- | ---
  `boolean` | AttributeSet.`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` | HashAttributeSet.`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` | PrintRequestAttributeSet.`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.
  `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 | 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.