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

KonstruktorBeschreibung
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

MethodeBeschreibung
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:

ParameterTypBeschreibung
Namejava.lang.StringEin Feature‑Name.
optionOptionErforderliche Option Instanz.
itemsIFeatureItem[]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:

ParameterTypBeschreibung
Namejava.lang.StringFeature‑Name.
featureFeatureErforderliche Feature-Instanz.
itemsIFeatureItem[]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:

ParameterTypBeschreibung
itemsIFeatureItem[]Liste der hinzuzufügenden Elemente.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

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

ParameterTypBeschreibung
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypBeschreibung
arg0long
arg1int