public SortedSet<DocFlavor> getDocFlavorsSupportingAttribute(Attribute attribute) {
final SortedSet<DocFlavor> docFlavors = this.getDocFlavors();
final AttributeSet attributes = this.printService.getAttributes();
final SortedSet<DocFlavor> matchedDocFlavors = new TreeSet<DocFlavor>(new DocFlavorComparator());
for (DocFlavor docFlavor : docFlavors) {
final Object value = this.printService.getSupportedAttributeValues(attribute.getCategory(), docFlavor, attributes);