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 CompressionSupported  view CompressionSupported download CompressionSupported.java

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

public final class CompressionSupported
extends javax.print.attribute.EnumSyntax
implements javax.print.attribute.SupportedValuesAttribute

CompressionSupported provides the values which are supported for the compression attribute.


Field Summary
static CompressionSupported COMPRESS
          The print data is UNIX compressed.
static CompressionSupported DEFLATE
          The print data is ZIP compressed.
private static CompressionSupported[] enumValueTable
           
static CompressionSupported GZIP
          The print data is GNU Zip compressed.
static CompressionSupported NONE
          The print data is not compressed.
private static java.lang.String[] stringTable
           
 
Fields inherited from class javax.print.attribute.EnumSyntax
 
Constructor Summary
protected CompressionSupported(int value)
          Constructs a CompressionSupported object.
 
Method Summary
 javax.print.attribute.standard.Compression getAssociatedAttribute()
          Returns the equally enum of the standard attribute class of this SupportedValuesAttribute enum.
static javax.print.attribute.standard.Compression[] getAssociatedAttributeArray(java.util.Set set)
          Constructs an array from a set of -supported attributes.
 java.lang.Class getCategory()
          Returns category of this class.
protected  javax.print.attribute.EnumSyntax[] getEnumValueTable()
          Returns a table with the enumeration values for this object.
 java.lang.String getName()
          Returns the name of this attribute.
protected  java.lang.String[] getStringTable()
          Returns a table with the enumeration values represented as strings for this object.
 
Methods inherited from class javax.print.attribute.EnumSyntax
clone, getOffset, getValue, hashCode, readResolve, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final CompressionSupported NONE
The print data is not compressed.


DEFLATE

public static final CompressionSupported DEFLATE
The print data is ZIP compressed.


GZIP

public static final CompressionSupported GZIP
The print data is GNU Zip compressed.


COMPRESS

public static final CompressionSupported COMPRESS
The print data is UNIX compressed.


stringTable

private static final java.lang.String[] stringTable

enumValueTable

private static final CompressionSupported[] enumValueTable
Constructor Detail

CompressionSupported

protected CompressionSupported(int value)
Constructs a CompressionSupported object.

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

getStringTable

protected java.lang.String[] getStringTable()
Returns a table with the enumeration values represented as strings for this object.


getEnumValueTable

protected javax.print.attribute.EnumSyntax[] getEnumValueTable()
Returns a table with the enumeration values for this object.


getAssociatedAttribute

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


getAssociatedAttributeArray

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