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

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.defaults
Class DocumentFormatDefault  view DocumentFormatDefault download DocumentFormatDefault.java

java.lang.Object
  extended byjavax.print.attribute.TextSyntax
      extended bygnu.javax.print.ipp.attribute.defaults.DocumentFormatDefault
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, gnu.javax.print.ipp.attribute.DefaultValueAttribute, java.io.Serializable

public final class DocumentFormatDefault
extends javax.print.attribute.TextSyntax
implements gnu.javax.print.ipp.attribute.DefaultValueAttribute

DocumentFormatDefault specifies the default document format of a printer.


Field Summary
 
Fields inherited from class javax.print.attribute.TextSyntax
 
Constructor Summary
DocumentFormatDefault(java.lang.String value, java.util.Locale locale)
          Creates a DocumentFormatDefault object with the given value and locale.
 
Method Summary
 javax.print.attribute.Attribute getAssociatedAttribute()
          Returns the equally enum of the standard attribute class of this DefaultValuesAttribute enum.
 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
 

Constructor Detail

DocumentFormatDefault

public DocumentFormatDefault(java.lang.String value,
                             java.util.Locale locale)
Creates a DocumentFormatDefault 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.Attribute getAssociatedAttribute()
Returns the equally enum of the standard attribute class of this DefaultValuesAttribute enum.

Specified by:
getAssociatedAttribute in interface gnu.javax.print.ipp.attribute.DefaultValueAttribute