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

Класс, реализующий свойство печатного билета. Класс, реализующий общий PrintTicket Property. Базовый класс для всех свойств, определённых схемой. Элемент Property объявляет устройство, параметры задания или другое соответствующее свойство, имя которого задаётся атрибутом name. Элемент Value используется для назначения значения элементу Property . Элемент Property может быть сложным, возможно содержащим несколько под‑свойств. Под‑свойства также представлены элементами Property . https://docs.microsoft.com/en-us/windows/win32/printdocs/property

Конструкторы

КонструкторОписание
Property(String name, Property property, IPropertyItem[] items)Создаёт новый экземпляр.
Property(String name, Value value, IPropertyItem[] items)Создаёт новый экземпляр.

Методы

МетодОписание
equals(Object arg0)
getClass()
getName()Получает имя элемента.
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)

Создаёт новый экземпляр.

Parameters:

ПараметрТипОписание
имяjava.lang.StringИмя свойства.
propertyPropertyОбязательный экземпляр Property .
itemsIPropertyItem[]Произвольный массив экземпляров IPropertyItem . Каждый из них должен быть экземпляром Property или Value .

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

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

Создаёт новый экземпляр.

Parameters:

ПараметрТипОписание
имяjava.lang.StringИмя свойства.
valueValueОбязательный Value экземпляр.
itemsIPropertyItem[]Произвольный массив экземпляров IPropertyItem . Каждый из них должен быть экземпляром 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