ScoredProperty

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement

All Implemented Interfaces: com.aspose.xps.metadata.IOptionItem, com.aspose.xps.metadata.IScoredPropertyItem

public class ScoredProperty extends CompositePrintTicketElement implements IOptionItem, IScoredPropertyItem

实现通用 PrintTicket ScoredProperty 的类。所有基于模式定义的计分属性的基类。ScoredProperty 元素声明了对 Option 定义固有的属性。在评估请求的 Option 与设备支持的 Option 的匹配程度时,应比较此类属性。 https://docs.microsoft.com/en-us/windows/win32/printdocs/scoredproperty

构造函数

构造函数描述
ScoredProperty(String name, ParameterRef parameterRef)创建一个新实例。
ScoredProperty(String name, Value value, IScoredPropertyItem[] items)创建一个新实例。

方法

方法描述
equals(Object arg0)
getClass()
getName()获取元素名称。
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ScoredProperty(String name, ParameterRef parameterRef)

public ScoredProperty(String name, ParameterRef parameterRef)

创建一个新实例。

Parameters:

参数类型描述
名称java.lang.String属性名称。
parameterRefParameterRefParameterRef 实例。

ScoredProperty(String name, Value value, IScoredPropertyItem[] items)

public ScoredProperty(String name, Value value, IScoredPropertyItem[] items)

创建一个新实例。

Parameters:

参数类型描述
名称java.lang.String属性名称。
valueValue属性值。
itemsIScoredPropertyItem[]任意 IScoredPropertyItem 实例数组。每个实例必须是 ScoredProperty、Property 或 Value 实例。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName()

public String getName()

获取元素名称。

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int