#include <AbstractObjectReader.h>
Inheritance diagram for acdk::io::AbstractObjectReader:
API: ACDK<br/>
Public Member Functions | |
AbstractObjectReader (IN(RReader) in, int flags=SerializeDefaultFlags) | |
virtual jlong | seek (SeekPos seekrel, jlong seekpos) |
Set stream position in this Reader to given position. | |
virtual jlong | skip (jlong n) |
Move forwart into the stream. | |
virtual void | reset () |
if mark is set, set stream to mark point otherwise to begin of this stream. | |
virtual void | setIn (IN(RReader) reader) |
virtual RStorage | getStorage () |
Gets the storage reader. | |
virtual RReader | getStorageReader () |
virtual acdk::lang::Object | readObject () |
in this Version the stream itself has to store meta information about the class of the object. | |
acdk::lang::Object | readObject2 () |
virtual acdk::lang::Object | readObject (IN(::acdk::lang::RClass) cls) |
In this version, the stream may not store meta information about the classes. | |
acdk::lang::Object | readObject2 (IN(::acdk::lang::RClass) cls) |
bool | isNamed () |
bool | isLabeled () |
bool | isTagged () |
bool | isReduced () |
bool | joinStrings () |
bool | withSerialVersionUID () |
virtual RString | readTagStart (IN(RString) key, IN(RString) expected=Nil)=0 |
Reads start of Tag. | |
virtual RString | readTagEnd (IN(RString) key, IN(RString) expected=Nil)=0 |
Writes end of Tag. | |
virtual RClass | readClassId ()=0 |
reads from the stream the acdk::lang::Object Id (for example the fully qualified class name) and create an new acdk::lang::Object if withSerialVersionUID() is true, the should be read and checked agains local class | |
virtual int | readObjectLocalId () |
To enable cyclic containment Objects. | |
virtual void | defaultReadObject (IN(RClass) cls, IN(acdk::lang::Object) obj) |
default method for reading objects data only fields of current class are read. | |
virtual RClass | readClassDescriptor (IN(RClass) cls) |
void | readObjectHierarchy (IN(RClass) cls, IN(acdk::lang::Object) obj) |
virtual bool | readBoolean ()=0 |
From acdk::io::DataReader. | |
virtual char | readChar ()=0 |
virtual double | readDouble ()=0 |
virtual float | readFloat ()=0 |
virtual int | readInt ()=0 |
virtual jlong | readLong ()=0 |
virtual short | readShort ()=0 |
virtual RString | readString () |
virtual RString | readStringImpl ()=0 |
virtual RbyteArray | readOpaque () |
writes the oktet array as opaque data with optional encoding | |
virtual acdk::lang::dmi::ScriptVar | readScriptVar (bool withTypeInfo=true, bool withFlags=true) |
RString | readStringElement () |
bool | readBooleanElement () |
char | readCharElement () |
uc2char | readUcCharElement () |
byte | readByteElement () |
short | readShortElement () |
int | readIntElement () |
jlong | readLongElement () |
float | readFloatElement () |
double | readDoubleElement () |
Protected Member Functions | |
void | resetLRefs () |
acdk::lang::Object | _readBasicArray (IN(RClass) cls, int length) |
acdk::lang::Object | _readObject (IN(::acdk::lang::RClass) cls) |
::acdk::lang::dmi::ScriptVar | _readScriptVar (int type, int flags) |
Private Attributes | |
int | _serializeFlags |
::acdk::util::RTreeMap | _lref |
RObjectArray | _lrefs |
RStringArray | _stringCache |
Integer -> RString;. |
|
|
|
|
|
|
|
|
|
default method for reading objects data only fields of current class are read.
Implements acdk::io::ObjectReader. |
|
Gets the storage reader. If this contains an FilterReader instead of a Storage, the storage reader of this filter reader will be returned (recursive). Reimplemented from acdk::io::AbstractFilterReader. |
|
Reimplemented from acdk::io::AbstractFilterReader. |
|
|
|
|
|
|
|
|
|
|
|
From acdk::io::DataReader.
Implements acdk::io::ObjectReader. Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
|
|
|
|
Implements acdk::io::ObjectReader. Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
|
|
Implements acdk::io::ObjectReader. |
|
reads from the stream the acdk::lang::Object Id (for example the fully qualified class name) and create an new acdk::lang::Object if withSerialVersionUID() is true, the should be read and checked agains local class
Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
Implements acdk::io::ObjectReader. Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
|
|
Implements acdk::io::ObjectReader. Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
|
|
Implements acdk::io::ObjectReader. Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
|
|
Implements acdk::io::ObjectReader. Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
|
|
In this version, the stream may not store meta information about the classes.
Implements acdk::io::ObjectReader. |
|
in this Version the stream itself has to store meta information about the class of the object.
Implements acdk::io::ObjectReader. Reimplemented in acdk::java::serialization::JavaObjectReader. |
|
|
|
|
|
|
|
To enable cyclic containment Objects.
|
|
writes the oktet array as opaque data with optional encoding
Reimplemented from acdk::io::DataReader. Reimplemented in acdk::xml::XMLObjectReader. |
|
Reimplemented from acdk::io::ObjectReader. |
|
Implements acdk::io::ObjectReader. Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
|
|
Implements acdk::io::ObjectReader. Reimplemented in acdk::java::serialization::JavaObjectReader. |
|
|
|
Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
Writes end of Tag. For example '' for a int type. This function will be called by writeObject if the object should be written with tags Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
Reads start of Tag. For example '' for a int type in a XML style Reader. This function will be called by writeObject if the object should be written with tags if the expected tag does not exists, throw ObjectStreamException Implemented in acdk::io::BinaryObjectReader, and acdk::xml::XMLObjectReader. |
|
|
|
if mark is set, set stream to mark point otherwise to begin of this stream.
Reimplemented from acdk::io::AbstractFilterReader. |
|
|
|
Set stream position in this Reader to given position.
Reimplemented from acdk::io::AbstractFilterReader. |
|
Reimplemented from acdk::io::AbstractFilterReader. |
|
Move forwart into the stream.
Reimplemented from acdk::io::AbstractFilterReader. |
|
|
|
|
|
|
|
|
|
|