Interface DocAttribute

All Superinterfaces:
Attribute, Serializable
All Known Implementing Classes:
Chromaticity, Compression, DocumentName, Finishings, Media, MediaName, MediaPrintableArea, MediaSizeName, MediaTray, NumberUp, OrientationRequested, PageRanges, PrinterResolution, PrintQuality, SheetCollate, Sides

public interface DocAttribute extends Attribute
Interface DocAttribute is a tagging interface which a printing attribute class implements to indicate the attribute denotes a setting for a doc. ("Doc" is a short, easy-to-pronounce term that means "a piece of print data.") The client may include a DocAttribute in a Doc's attribute set to specify a characteristic of that doc. If an attribute implements PrintRequestAttribute as well as DocAttribute, the client may include the attribute in a attribute set which specifies a print job to specify a characteristic for all the docs in that job.
See Also:
  • Method Summary

    Methods declared in interface Attribute

    getCategory, getName
    Modifier and Type
    Method
    Description
    Class<? extends Attribute>
    Get the printing attribute class which is to be used as the "category" for this printing attribute value when it is added to an attribute set.
    Get the name of the category of which this attribute value is an instance.