Property

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

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

public class Property extends CompositePrintTicketElement implements IPrintTicketItem, IFeatureItem, IOptionItem, IScoredPropertyItem, IPropertyItem

Class implementing print ticket property. The class that implements a common PrintTicket Property . The base class for all schema-defined properties. A Property element declares a device, job formatting, or other relevant property whose name is given by its name attribute. A Value element is used to assign a value to the Property . A Property can be complex, possibly containing multiple subproperties. Subproperties are also represented by Property elements. https://docs.microsoft.com/en-us/windows/win32/printdocs/property

Constructors

ConstructorDescription
Property(String name, Property property, IPropertyItem[] items)Creates a new instance.
Property(String name, Value value, IPropertyItem[] items)Creates a new instance.

Methods

MethodDescription
equals(Object arg0)
getClass()
getName()Gets the element name.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Property(String name, Property property, IPropertyItem[] items)

public Property(String name, Property property, IPropertyItem[] items)

Creates a new instance.

Parameters:

ParameterTypeDescription
namejava.lang.StringA property name.
propertyPropertyA mandatory Property instance.
itemsIPropertyItem[]An arbitrary array of IPropertyItem instance. Each one must be a Property or a Value instance.

Property(String name, Value value, IPropertyItem[] items)

public Property(String name, Value value, IPropertyItem[] items)

Creates a new instance.

Parameters:

ParameterTypeDescription
namejava.lang.StringA property name.
valueValueA mandatory Value instance.
itemsIPropertyItem[]An arbitrary array of IPropertyItem instance. Each one must be a Property or a Value instance.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int