public final class JobPrioritySupported extends IntegerSyntax implements SupportedValuesAttribute
JobPriority属性和不同的工作负载优先级个数。
客户可以指定任何JobPriority值从1到100的工作。然而,打印服务实例可能支持小于100个不同的作业优先级级别。如果是这样的话,打印服务实例会自动将客户指定的作业优先级值映射到支持的作业优先级级别中的一个,将100个作业优先级值划分为可用的作业优先级级别中的一个。
聚丙烯的相容性:整数值给出了IPP的整型值。返回getName()类别名称为IPP的属性名称。
| Constructor and Description |
|---|
JobPrioritySupported(int value)
用给定的整数值构造一个新的作业优先级支持的属性。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
返回此作业优先级支持的属性是否等效于对象的传递的属性。
|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
getValue, hashCode, toStringpublic JobPrioritySupported(int value)
value支持不同工作优先级别数。
IllegalArgumentException -(unchecked异常抛出
value)如果小于1或大于100。
public boolean equals(Object object)
object不空。object是一个类的实例jobprioritysupported。object的价值是相等的。equals 方法重写,继承类
IntegerSyntax
object对象比较。
object相当于这个工作优先支持属性真,否则为假。
Object.hashCode(),
HashMap
public final 类<? extends Attribute> getCategory()
jobprioritysupported类,类类jobprioritysupported本身。
getCategory 接口
Attribute
java.lang.Class类实例。
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, 2014, Oracle and/or its affiliates. All rights reserved.