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
The class that implements a common PrintTicket ScoredProperty . The base class for all schema-defined scored properties. A ScoredProperty element declares a property that is intrinsic to an Option definition. Such properties should be compared when evaluating how closely a requested Option matches a device-supported Option . https://docs.microsoft.com/en-us/windows/win32/printdocs/scoredproperty
Constructors
Constructor | Description |
---|---|
ScoredProperty(String name, ParameterRef parameterRef) | Creates a new instance. |
ScoredProperty(String name, Value value, IScoredPropertyItem[] items) | Creates a new instance. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getName() | Gets the element name. |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
ScoredProperty(String name, ParameterRef parameterRef)
public ScoredProperty(String name, ParameterRef parameterRef)
Creates a new instance.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | A property name. |
parameterRef | ParameterRef | A ParameterRef instance. |
ScoredProperty(String name, Value value, IScoredPropertyItem[] items)
public ScoredProperty(String name, Value value, IScoredPropertyItem[] items)
Creates a new instance.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | A property name. |
value | Value | A property value. |
items | IScoredPropertyItem[] | An arbitrary array of IScoredPropertyItem instance. Each one must be a ScoredProperty , a Property or a Value instance. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Gets the element name.
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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |