AttributeListArrayAttribute
, AttributeListAttribute
, ByteArrayAttribute
, ByteAttribute
, DoubleArrayAttribute
, DoubleAttribute
, FloatArrayAttribute
, FloatAttribute
, IntegerArrayAttribute
, IntegerAttribute
, LongArrayAttribute
, LongAttribute
, ShortArrayAttribute
, ShortAttribute
, StringArrayAttribute
, StringAttribute
public abstract class DataValue
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected byte |
_type |
Der Typ dieses Datensatzes
|
static byte |
ARRAY_OFFSET |
Konstante repräsentiert den Array-Offset
|
static byte |
ATTRIBUTE_LIST_ARRAY_TYPE |
Konstante repräsentiert den DatenTyp Arrayliste
|
static byte |
ATTRIBUTE_LIST_TYPE |
Konstante repräsentiert den DatenTyp Liste
|
static byte |
BIT_ARRAY_TYPE |
Konstante repräsentiert den DatenTyp bit Array
|
static byte |
BYTE_ARRAY_TYPE |
Konstante repräsentiert den DatenTyp byte Array
|
static byte |
BYTE_TYPE |
Konstante repräsentiert den DatenTyp byte
|
static byte |
DOUBLE_ARRAY_TYPE |
Konstante repräsentiert den DatenTyp double Array
|
static byte |
DOUBLE_TYPE |
Konstante repräsentiert den DatenTyp double
|
static byte |
FLOAT_ARRAY_TYPE |
Konstante repräsentiert den DatenTyp float Array
|
static byte |
FLOAT_TYPE |
Konstante repräsentiert den DatenTyp float
|
static byte |
INTEGER_ARRAY_TYPE |
Konstante repräsentiert den DatenTyp int Array
|
static byte |
INTEGER_TYPE |
Konstante repräsentiert den DatenTyp int
|
static byte |
LONG_ARRAY_TYPE |
Konstante repräsentiert den DatenTyp long Array
|
static byte |
LONG_TYPE |
Konstante repräsentiert den DatenTyp long
|
static byte |
SHORT_ARRAY_TYPE |
Konstante repräsentiert den DatenTyp short Array
|
static byte |
SHORT_TYPE |
Konstante repräsentiert den DatenTyp short
|
static byte |
STRING_ARRAY_TYPE |
Konstante repräsentiert den DatenTyp String Array
|
static byte |
STRING_TYPE |
Konstante repräsentiert den DatenTyp String
|
Constructor | Description |
---|---|
DataValue() |
Modifier and Type | Method | Description |
---|---|---|
abstract DataValue |
cloneObject() |
Diese Methode erzeugt eine Kopie dieses Datensatzes
|
static DataValue |
getObject(byte _type) |
Gibt ein leeres Objekt vom gegebenen Typ zurück
|
byte |
getType() |
Gibt den Typ dieses Datensatzes zurück
|
abstract java.lang.Object |
getValue() |
gibt den Wert zurück des Objektes
|
abstract java.lang.String |
parseToString() |
Gibt ein String zurrück, der diesen Datensatz beschreibt
|
abstract void |
read(java.io.DataInputStream in) |
Lesen eines Datensatzes vom gegebenen DataInputStream
|
abstract void |
write(java.io.DataOutputStream out) |
Schreiben eines Datensatzes in den gegebenen DataOutputStream
|
public static final byte BYTE_TYPE
public static final byte SHORT_TYPE
public static final byte INTEGER_TYPE
public static final byte LONG_TYPE
public static final byte FLOAT_TYPE
public static final byte DOUBLE_TYPE
public static final byte STRING_TYPE
public static final byte BIT_ARRAY_TYPE
public static final byte BYTE_ARRAY_TYPE
public static final byte SHORT_ARRAY_TYPE
public static final byte INTEGER_ARRAY_TYPE
public static final byte LONG_ARRAY_TYPE
public static final byte FLOAT_ARRAY_TYPE
public static final byte DOUBLE_ARRAY_TYPE
public static final byte STRING_ARRAY_TYPE
public static final byte ATTRIBUTE_LIST_TYPE
public static final byte ATTRIBUTE_LIST_ARRAY_TYPE
public static final byte ARRAY_OFFSET
protected byte _type
public final byte getType()
public static DataValue getObject(byte _type)
_type
- _type des Objektespublic abstract void read(java.io.DataInputStream in) throws java.io.IOException
in
- Eingabe-Streamjava.io.IOException
- wenn beim Lesen vom Eingabe-Stream Fehler aufgetreten sind.public abstract void write(java.io.DataOutputStream out) throws java.io.IOException
out
- Ausgabe-Streamjava.io.IOException
- wenn beim Schreiben vom Ausgabe-Stream Fehler aufgetreten sind.public abstract DataValue cloneObject()
public abstract java.lang.String parseToString()
public abstract java.lang.Object getValue()