gnu.javax.print.ipp
Class IppValueTag
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.
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_WITHOUT_LANGUAGE - Indicates a value of syntax type name without language.
|
static byte | NAME_WITH_LANGUAGE - Indicates a value of syntax type name with 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_WITHOUT_LANGUAGE - Indicates a value of syntax type text without language.
|
static byte | TEXT_WITH_LANGUAGE - Indicates a value of syntax type text with 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.
|
static boolean | isValueTag(byte value) - Tests if given value corresponds to a
value tag value.
|
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
BOOLEAN
public static final byte BOOLEAN
Indicates a value of syntax type boolean.
CHARSET
public static final byte CHARSET
Indicates a value of syntax type charset.
DATETIME
public static final byte DATETIME
Indicates a value of syntax type datetime.
ENUM
public static final byte ENUM
Indicates a value of syntax type enum (enumeration).
INTEGER
public static final byte INTEGER
Indicates a value of syntax type integer.
KEYWORD
public static final byte KEYWORD
Indicates a value of syntax type keyword.
MIME_MEDIA_TYPE
public static final byte MIME_MEDIA_TYPE
Indicates a value of syntax type mime media.
NAME_WITHOUT_LANGUAGE
public static final byte NAME_WITHOUT_LANGUAGE
Indicates a value of syntax type name without language.
NAME_WITH_LANGUAGE
public static final byte NAME_WITH_LANGUAGE
Indicates a value of syntax type name with language.
NATURAL_LANGUAGE
public static final byte NATURAL_LANGUAGE
Indicates a value of syntax type language.
NO_VALUE
public static final byte NO_VALUE
Out of band value for attribute without a value.
OCTECTSTRING_UNSPECIFIED
public static final byte OCTECTSTRING_UNSPECIFIED
Indicates a value of syntax type octect string.
RANGEOFINTEGER
public static final byte RANGEOFINTEGER
Indicates a value of syntax type range of integers.
RESOLUTION
public static final byte RESOLUTION
Indicates a value of syntax type resolution.
TEXT_WITHOUT_LANGUAGE
public static final byte TEXT_WITHOUT_LANGUAGE
Indicates a value of syntax type text without language.
TEXT_WITH_LANGUAGE
public static final byte TEXT_WITH_LANGUAGE
Indicates a value of syntax type text with language.
UNKNOWN
public static final byte UNKNOWN
Out of band value for unknown attributes.
UNSUPPORTED
public static final byte UNSUPPORTED
Out of band value for unsupported attributes.
URI
public static final byte URI
Indicates a value of syntax type URI.
URI_SCHEME
public static final byte URI_SCHEME
Indicates a value of syntax type URI scheme.
isValueTag
public static boolean isValueTag(byte value)
Tests if given value corresponds to a
value tag value.
value
- the value to test for
true
if, false
otherwise.
IppValueTag.java --
Copyright (C) 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version.