- java.lang.Object
-
- javax.print.attribute.EnumSyntax
-
- javax.print.attribute.standard.PDLOverrideSupported
-
- All Implemented Interfaces:
-
Serializable,Cloneable,Attribute,PrintServiceAttribute
public class PDLOverrideSupported extends EnumSyntax implements PrintServiceAttribute
类PDLOverrideSupported是打印属性类,枚举,表示打印机尝试覆盖嵌入在文档打印数据中的处理指令的能力,处理指令指定为打印数据之外的属性。IPP兼容性:由
getName()返回的类别名称是IPP属性名称。 枚举的整数值是IPP枚举值。toString()方法返回属性值的IPP字符串表示形式。- 另请参见:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 描述 static PDLOverrideSupportedATTEMPTED打印机尝试使外部作业属性值优先于文档打印数据中的嵌入式指令,但不能保证。static PDLOverrideSupportedNOT_ATTEMPTED打印机不尝试使外部作业属性值优先于文档打印数据中的嵌入式指令。
-
构造方法摘要
构造方法 Modifier Constructor 描述 protectedPDLOverrideSupported(int value)使用给定的整数值构造一个新的PDL覆盖支持的枚举值。
-
方法摘要
所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 Class<? extends Attribute>getCategory()获取要用作此打印属性值的“类别”的打印属性类。protected EnumSyntax[]getEnumValueTable()返回类PDLOverrideSupported的枚举值表。StringgetName()获取此属性值是一个实例的类别的名称。protected String[]getStringTable()返回类PDLOverrideSupported的字符串表。-
Methods inherited from class javax.print.attribute.EnumSyntax
clone, getOffset, getValue, hashCode, readResolve, toString
-
-
-
-
字段详细信息
-
NOT_ATTEMPTED
public static final PDLOverrideSupported NOT_ATTEMPTED
打印机不尝试使外部作业属性值优先于文档打印数据中的嵌入式指令。
-
ATTEMPTED
public static final PDLOverrideSupported ATTEMPTED
打印机尝试使外部作业属性值优先于文档打印数据中的嵌入式指令,但不能保证。
-
-
方法详细信息
-
getStringTable
protected String[] getStringTable()
返回类PDLOverrideSupported的字符串表。- 重写:
-
getStringTable在EnumSyntax - 结果
- 字符串表
-
getEnumValueTable
protected EnumSyntax[] getEnumValueTable()
返回类PDLOverrideSupported的枚举值表。- 重写:
-
getEnumValueTable在EnumSyntax - 结果
- 值表
-
getCategory
public final Class<? extends Attribute> getCategory()
获取要用作此打印属性值的“类别”的打印属性类。对于PDLOverrideSupported类和任何供应商定义的子类,该类别本身就是PDLOverrideSupport类。
- Specified by:
-
getCategory在接口Attribute - 结果
-
打印属性类(category),一个
java.lang.Class类的实例。
-
-