HPInc / jipp

A Java-compatible implementation of IPP
MIT License
153 stars 42 forks source link

Replace AttributeTypes in builders with names #89

Closed GladeDiviney closed 4 years ago

GladeDiviney commented 4 years ago

In the API getPrinterAttributes(printerUri, types: Iterable<AttributeType<*>>), types doesn't accept names of attribute groups such as job-description, job-template, and all. You can still add them later with putAttributes(Tag.operationAttributes, Types.requestedAttributes.of(...) but this API doesn't provide a clean way to implement this common action.

GladeDiviney commented 4 years ago

Can use EmptyAttributeType for this.