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

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.job
Class AttributesCharset  view AttributesCharset download AttributesCharset.java

java.lang.Object
  extended bygnu.javax.print.ipp.attribute.CharsetSyntax
      extended bygnu.javax.print.ipp.attribute.job.AttributesCharset
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, java.io.Serializable

public final class AttributesCharset
extends gnu.javax.print.ipp.attribute.CharsetSyntax
implements javax.print.attribute.Attribute

AttributesCharset attribute as described in RFC 2911 chapter 3.1.4 Character Set and Natural Language Operation Attributes.

This operation attribute identifies the charset used by any text and name attribute supplied by the client in the request. This charset must be used by the printer object in the response.
All clients and IPP objects must support the 'utf-8' charset.


Field Summary
static AttributesCharset UTF8
          Defines a default UTF-8 charset instance
 
Fields inherited from class gnu.javax.print.ipp.attribute.CharsetSyntax
 
Constructor Summary
AttributesCharset(java.lang.String value)
          Creates a AttributesCharset object.
 
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 gnu.javax.print.ipp.attribute.CharsetSyntax
equals, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UTF8

public static final AttributesCharset UTF8
Defines a default UTF-8 charset instance

Constructor Detail

AttributesCharset

public AttributesCharset(java.lang.String value)
Creates a AttributesCharset 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