Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.supported
Class JobSheetsSupported  view JobSheetsSupported download JobSheetsSupported.java

java.lang.Object
  extended byjavax.print.attribute.TextSyntax
      extended bygnu.javax.print.ipp.attribute.supported.JobSheetsSupported
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, java.io.Serializable, javax.print.attribute.SupportedValuesAttribute

public final class JobSheetsSupported
extends javax.print.attribute.TextSyntax
implements javax.print.attribute.SupportedValuesAttribute

JobSheetsSupported attribute provides the supported values of the job-sheets attribute.


Field Summary
static gnu.javax.print.ipp.attribute.defaults.JobSheetsDefault NONE
          No job sheet is the default
static gnu.javax.print.ipp.attribute.defaults.JobSheetsDefault STANDARD
          A job sheet is the default
 
Fields inherited from class javax.print.attribute.TextSyntax
 
Constructor Summary
JobSheetsSupported(java.lang.String value, java.util.Locale locale)
          Creates a JobSheetsSupported object with the given value and locale.
 
Method Summary
 javax.print.attribute.standard.JobSheets getAssociatedAttribute()
          Returns the equally enum of the standard attribute class of this SupportedValuesAttribute enum.
static javax.print.attribute.standard.JobSheets[] getAssociatedAttributeArray(java.util.Set set)
          Constructs an array from a set of -supported attributes.
 java.lang.Class getCategory()
          Returns category of this class.
 java.lang.String getName()
          Returns the name of this attribute.
 
Methods inherited from class javax.print.attribute.TextSyntax
equals, getLocale, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final gnu.javax.print.ipp.attribute.defaults.JobSheetsDefault NONE
No job sheet is the default


STANDARD

public static final gnu.javax.print.ipp.attribute.defaults.JobSheetsDefault STANDARD
A job sheet is the default

Constructor Detail

JobSheetsSupported

public JobSheetsSupported(java.lang.String value,
                          java.util.Locale locale)
Creates a JobSheetsSupported object with the given value and locale.

Method Detail

getCategory

public java.lang.Class getCategory()
Returns category of this class.

Specified by:
getCategory in interface javax.print.attribute.Attribute

getName

public java.lang.String getName()
Returns the name of this attribute.

Specified by:
getName in interface javax.print.attribute.Attribute

getAssociatedAttribute

public javax.print.attribute.standard.JobSheets getAssociatedAttribute()
Returns the equally enum of the standard attribute class of this SupportedValuesAttribute enum.

May return null if no value exists in JPS API.


getAssociatedAttributeArray

public static javax.print.attribute.standard.JobSheets[] getAssociatedAttributeArray(java.util.Set set)
Constructs an array from a set of -supported attributes.