Uses of Interface javax.print.attribute.AttributeSet (Java Platform SE 8 )
Date: 2016-10-23

## 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` | AttributeSet.`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` | PrintRequestAttributeSet.`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` | 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.
    `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.

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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.