public final class PrinterIsAcceptingJobs extends EnumSyntax implements PrintServiceAttribute
PrinterState
和
PrinterStateReasons
属性,因为它的值不影响目前的工作;而影响未来的工作。如果该值是not_accepting_jobs,打印机将拒绝工作,即使
PrinterState
空闲。如果价值是accepting_jobs,打印机将接受工作机会,即使
PrinterState
停止。
聚丙烯的相容性: IPP的布尔值为“真”与“假”的not_accepting_jobs accepting_jobs。返回getName()
类别名称是IPP的属性名称。枚举的整数值为IPP的枚举值。的toString()
方法返回属性值的字符串表示形式的IPP。
Modifier and Type | Field and Description |
---|---|
static PrinterIsAcceptingJobs |
ACCEPTING_JOBS
打印机目前正在接受工作。
|
static PrinterIsAcceptingJobs |
NOT_ACCEPTING_JOBS
打印机目前拒绝任何发送给它的工作。
|
Modifier | Constructor and Description |
---|---|
protected |
PrinterIsAcceptingJobs(int value)
构造一个新的打印机正在接受给定的整数值的作业枚举值。
|
Modifier and Type | Method and Description |
---|---|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
protected EnumSyntax[] |
getEnumValueTable()
返回舱printerisacceptingjobs枚举值表。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
protected String[] |
getStringTable()
返回舱printerisacceptingjobs字符串表。
|
clone, getOffset, getValue, hashCode, readResolve, toString
public static final PrinterIsAcceptingJobs NOT_ACCEPTING_JOBS
public static final PrinterIsAcceptingJobs ACCEPTING_JOBS
protected PrinterIsAcceptingJobs(int value)
value
整型值。
protected String[] getStringTable()
getStringTable
方法重写,继承类
EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
方法重写,继承类
EnumSyntax
public final 类<? extends Attribute> getCategory()
printerisacceptingjobs类,类类printerisacceptingjobs本身。
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.