Feature
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
public class Feature extends CompositePrintTicketElement implements IPrintTicketItem, IFeatureItem
Die Klasse, die ein gemeinsames Print‑Schema‑Feature kapselt. Die Basisklasse für alle schema‑definierten Features. Ein Feature Element enthält eine vollständige Liste der Option und Property Elemente, die ein Geräteattribut, eine Job‑Formatierungseinstellung oder ein anderes relevantes Merkmal vollständig beschreiben. https://docs.microsoft.com/en-us/windows/win32/printdocs/feature
Konstruktoren
| Konstruktor | Beschreibung |
|---|---|
| Feature(String name, Option option, IFeatureItem[] items) | Erstellt eine neue PrintTicket‑Feature‑Instanz. |
| Feature(String name, Feature feature, IFeatureItem[] items) | Erstellt eine neue PrintTicket‑Feature‑Instanz. |
Methoden
| Methode | Beschreibung |
|---|---|
| add(IFeatureItem[] items) | Fügt eine Liste von Elementen am Ende der Elementliste dieses Features hinzu. |
| equals(Object arg0) | |
| getClass() | |
| getName() | Ermittelt den Elementnamen. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Feature(String name, Option option, IFeatureItem[] items)
public Feature(String name, Option option, IFeatureItem[] items)
Erstellt eine neue PrintTicket‑Feature‑Instanz.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| Name | java.lang.String | Ein Feature‑Name. |
| option | Option | Erforderliche Option Instanz. |
| items | IFeatureItem[] | Ein beliebiges Array von IFeatureItem Instanzen. Jede muss ein Feature , ein Option oder ein Property Instanz sein. |
Feature(String name, Feature feature, IFeatureItem[] items)
public Feature(String name, Feature feature, IFeatureItem[] items)
Erstellt eine neue PrintTicket‑Feature‑Instanz.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| Name | java.lang.String | Feature‑Name. |
| feature | Feature | Erforderliche Feature-Instanz. |
| items | IFeatureItem[] | Ein beliebiges Array von Property-Instanzen. Jede muss ein Feature, eine Option oder eine Property-Instanz sein. |
add(IFeatureItem[] items)
public void add(IFeatureItem[] items)
Fügt eine Liste von Elementen am Ende der Elementliste dieses Features hinzu. Jedes muss eine Feature-, eine Option- oder eine Property-Instanz sein.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| items | IFeatureItem[] | Liste der hinzuzufügenden Elemente. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Ermittelt den Elementnamen.
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 | Typ | Beschreibung |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | long | |
| arg1 | int |