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

Quick Search    Search Deep

gnu.javax.print.ipp.attribute
Class StatusMessage  view StatusMessage download StatusMessage.java

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

public final class StatusMessage
extends javax.print.attribute.TextSyntax
implements javax.print.attribute.Attribute

StatusMessage attribute as described in RFC 2911 section 3.1.6 Operation Response Status Codes and Status Message provides a short description of the status of the operation.


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

StatusMessage

public StatusMessage(java.lang.String value,
                     java.util.Locale locale)
Creates a StatusMessage 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