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

Quick Search    Search Deep

Class PrinterStateMessage  view PrinterStateMessage download

  extended byjavax.print.attribute.TextSyntax
      extended bygnu.javax.print.ipp.attribute.printer.PrinterStateMessage
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, javax.print.attribute.PrintServiceAttribute,

public final class PrinterStateMessage
extends javax.print.attribute.TextSyntax
implements javax.print.attribute.PrintServiceAttribute

PrinterStateMessage attribute as described in RFC 2911 section 4.4.13 provides a textual representation of the attributes printer-state and printer-state-reasons for consumption by humans.

Field Summary
Fields inherited from class javax.print.attribute.TextSyntax
Constructor Summary
PrinterStateMessage(java.lang.String value, java.util.Locale locale)
          Creates a PrinterStateMessage object with the given value and locale.
Method Summary
 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


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

Method Detail


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

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


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

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