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

Quick Search    Search Deep

gnu.javax.print.ipp
Class IppValueTag  view IppValueTag download IppValueTag.java

java.lang.Object
  extended bygnu.javax.print.ipp.IppValueTag

public final class IppValueTag
extends java.lang.Object

IPP Value Tags as described in RFC 2910 section 3.5.2.

Attributes are always of a special type syntax (e.g. boolean or interger attribute). These value types are specified by the tag constants provided in this class. Beside the syntax types some out of band values for reporting requested attributes as unsupported, unknown etc. back to the client.


Field Summary
static byte BOOLEAN
          Indicates a value of syntax type boolean.
static byte CHARSET
          Indicates a value of syntax type charset.
static byte DATETIME
          Indicates a value of syntax type datetime.
static byte ENUM
          Indicates a value of syntax type enum (enumeration).
static byte INTEGER
          Indicates a value of syntax type integer.
static byte KEYWORD
          Indicates a value of syntax type keyword.
static byte MIME_MEDIA_TYPE
          Indicates a value of syntax type mime media.
static byte NAME_WITH_LANGUAGE
          Indicates a value of syntax type name with language.
static byte NAME_WITHOUT_LANGUAGE
          Indicates a value of syntax type name without language.
static byte NATURAL_LANGUAGE
          Indicates a value of syntax type language.
static byte NO_VALUE
          Out of band value for attribute without a value.
static byte OCTECTSTRING_UNSPECIFIED
          Indicates a value of syntax type octect string.
static byte RANGEOFINTEGER
          Indicates a value of syntax type range of integers.
static byte RESOLUTION
          Indicates a value of syntax type resolution.
static byte TEXT_WITH_LANGUAGE
          Indicates a value of syntax type text with language.
static byte TEXT_WITHOUT_LANGUAGE
          Indicates a value of syntax type text without language.
static byte UNKNOWN
          Out of band value for unknown attributes.
static byte UNSUPPORTED
          Out of band value for unsupported attributes.
static byte URI
          Indicates a value of syntax type URI.
static byte URI_SCHEME
          Indicates a value of syntax type URI scheme.
 
Constructor Summary
private IppValueTag()
           
 
Method Summary
static boolean isValueTag(byte value)
          Tests if given value corresponds to a value tag value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNSUPPORTED

public static final byte UNSUPPORTED
Out of band value for unsupported attributes.

See Also:
Constant Field Values

UNKNOWN

public static final byte UNKNOWN
Out of band value for unknown attributes.

See Also:
Constant Field Values

NO_VALUE

public static final byte NO_VALUE
Out of band value for attribute without a value.

See Also:
Constant Field Values

INTEGER

public static final byte INTEGER
Indicates a value of syntax type integer.

See Also:
Constant Field Values

BOOLEAN

public static final byte BOOLEAN
Indicates a value of syntax type boolean.

See Also:
Constant Field Values

ENUM

public static final byte ENUM
Indicates a value of syntax type enum (enumeration).

See Also:
Constant Field Values

OCTECTSTRING_UNSPECIFIED

public static final byte OCTECTSTRING_UNSPECIFIED
Indicates a value of syntax type octect string.

See Also:
Constant Field Values

DATETIME

public static final byte DATETIME
Indicates a value of syntax type datetime.

See Also:
Constant Field Values

RESOLUTION

public static final byte RESOLUTION
Indicates a value of syntax type resolution.

See Also:
Constant Field Values

RANGEOFINTEGER

public static final byte RANGEOFINTEGER
Indicates a value of syntax type range of integers.

See Also:
Constant Field Values

TEXT_WITH_LANGUAGE

public static final byte TEXT_WITH_LANGUAGE
Indicates a value of syntax type text with language.

See Also:
Constant Field Values

NAME_WITH_LANGUAGE

public static final byte NAME_WITH_LANGUAGE
Indicates a value of syntax type name with language.

See Also:
Constant Field Values

TEXT_WITHOUT_LANGUAGE

public static final byte TEXT_WITHOUT_LANGUAGE
Indicates a value of syntax type text without language.

See Also:
Constant Field Values

NAME_WITHOUT_LANGUAGE

public static final byte NAME_WITHOUT_LANGUAGE
Indicates a value of syntax type name without language.

See Also:
Constant Field Values

KEYWORD

public static final byte KEYWORD
Indicates a value of syntax type keyword.

See Also:
Constant Field Values

URI

public static final byte URI
Indicates a value of syntax type URI.

See Also:
Constant Field Values

URI_SCHEME

public static final byte URI_SCHEME
Indicates a value of syntax type URI scheme.

See Also:
Constant Field Values

CHARSET

public static final byte CHARSET
Indicates a value of syntax type charset.

See Also:
Constant Field Values

NATURAL_LANGUAGE

public static final byte NATURAL_LANGUAGE
Indicates a value of syntax type language.

See Also:
Constant Field Values

MIME_MEDIA_TYPE

public static final byte MIME_MEDIA_TYPE
Indicates a value of syntax type mime media.

See Also:
Constant Field Values
Constructor Detail

IppValueTag

private IppValueTag()
Method Detail

isValueTag

public static boolean isValueTag(byte value)
Tests if given value corresponds to a value tag value.