ISerialization

Overview

This interface allow serialization and deserialization values.

Location


Required Methods


beginReadObject

Calls to read instance of ComplexType.

 

method beginReadObject(aName: String; aValue: Class): ComplexType

 

ComplexType beginReadObject(String aName, Class aValue)

Parameters:


beginWriteObject

Calls to write instance of ComplexType.

 

method beginWriteObject(aName: String; aValue: ComplexType)

 

void beginWriteObject(String aName, ComplexType aValue)

Parameters:


endReadObject

Calls to finish reading instance of ComplexType.

 

method endReadObject(aName: String; aValue: ComplexType)

 

void endReadObject(String aName, ComplexType aValue)

Parameters:


endWriteObject

Calls to finish writng instance of ComplexType.

 

method endWriteObject(aName: String; aValue: ComplexType)

 

void endWriteObject(String aName, ComplexType aValue)

Parameters:


readAnsiString

Calls to read ANSI string.

 

method readAnsiString(aName: String): String

 

String readAnsiString(String aName)

Parameters:

  • aName: Given name.

readArray

Calls to read ArrayType.

 

method readArray(aName: String; aValue: Class): ArrayType

 

ArrayType readArray(String aName, Class aValue)

Parameters:

  • aName: Given name.
  • aValue: Given subclass of ArrayType class.

readBinary

Calls to read binary stream.

 

method readBinary(aName: String): array of SByte

 

SByte[] readBinary(String aName)

Parameters:

  • aName: Given name.

readBoolean

Calls to read boolean.

 

method readBoolean(aName: String): Boolean

 

Boolean readBoolean(String aName)

Parameters:

  • aName: Given name.

readByte

Calls to read byte.

 

method readByte(aName: String): Byte

 

Byte readByte(String aName)

Parameters:

  • aName: Given name.

readCurrency

Calls to read currency.

 

method readCurrency(aName: String): BigDecimal

 

BigDecimal readCurrency(String aName)

Parameters:

  • aName: Given name.

readDateTime

Calls to read date.

 

method readDateTime(aName: String): Date

 

Date readDateTime(String aName)

Parameters:

  • aName: Given name.

readDecimal

Calls to read decimal.

 

method readDecimal(aName: String): BigDecimal

 

BigDecimal readDecimal(String aName)

Parameters:

  • aName: Given name.

readDouble

Calls to read double.

 

method readDouble(aName: String): Double

 

Double readDouble(String aName)

Parameters:

  • aName: Given name.

readEnum

Calls to read enum.

 

method readEnum(aName: String): Integer

 

Integer readEnum(String aName)

Parameters:

  • aName: Given name.

readGuid

Calls to read uuid.

 

method readGuid(aName: String): UUID

 

UUID readGuid(String aName)

Parameters:

  • aName: Given name.

readInt32

Calls to read integer.

 

method readInt32(aName: String): Integer

 

Integer readInt32(String aName)

Parameters:

  • aName: Given name.

readInt64

Calls to read long.

 

method readInt64(aName: String): Long

 

Long readInt64(String aName)

Parameters:

  • aName: Given name.

readUtf8String

Calls to read UTF8 string.

 

method readUtf8String(aName: String): String

 

String readUtf8String(String aName)

Parameters:

  • aName: Given name.

readVariant

Calls to read VariantType.

 

method readVariant(aName: String): VariantType

 

VariantType readVariant(String aName)

Parameters:

  • aName: Given name.

readWideString

Calls to read wide string.

 

method readWideString(aName: String): String

 

String readWideString(String aName)

Parameters:

  • aName: Given name.

readXml

Calls to read XmlType.

 

method readXml(aName: String): XmlType

 

XmlType readXml(String aName)

Parameters:

  • aName: Given name.

writeAnsiString

Calls to write ANSI string.

 

method writeAnsiString(aName: String; aValue: String)

 

void writeAnsiString(String aName, String aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeArray

Calls to write instance of ArrayType.

 

method writeArray(aName: String; aValue: ArrayType)

 

void writeArray(String aName, ArrayType aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeBinary

Calls to write binary stream.

 

method writeBinary(aName: String; aValue: array of SByte)

 

void writeBinary(String aName, SByte[] aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeBoolean

Calls to write boolean.

 

method writeBoolean(aName: String; aValue: Boolean)

 

void writeBoolean(String aName, Boolean aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeByte

Calls to write byte.

 

method writeByte(aName: String; aValue: Byte)

 

void writeByte(String aName, Byte aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeCurrency

Calls to write currency.

 

method writeCurrency(aName: String; aValue: BigDecimal)

 

void writeCurrency(String aName, BigDecimal aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeDateTime

Calls to write date.

 

method writeDateTime(aName: String; aValue: Date)

 

void writeDateTime(String aName, Date aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeDecimal

Calls to write decimal.

 

method writeDecimal(aName: String; aValue: BigDecimal)

 

void writeDecimal(String aName, BigDecimal aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeDouble

Calls to write double.

 

method writeDouble(aName: String; aValue: Double)

 

void writeDouble(String aName, Double aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeEnum

Calls to write enum.

 

method writeEnum(aName: String; aValue: Integer)

 

void writeEnum(String aName, Integer aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeGuid

Calls to write uuid.

 

method writeGuid(aName: String; aValue: UUID)

 

void writeGuid(String aName, UUID aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeInt32

Calls to write integer.

 

method writeInt32(aName: String; aValue: Integer)

 

void writeInt32(String aName, Integer aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeInt64

Calls to write long.

 

method writeInt64(aName: String; aValue: Long)

 

void writeInt64(String aName, Long aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeUtf8String

Calls to write UTF8 string.

 

method writeUtf8String(aName: String; aValue: String)

 

void writeUtf8String(String aName, String aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeVariant

Calls to write VariantType.

 

method writeVariant(aName: String; aValue: VariantType)

 

void writeVariant(String aName, VariantType aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeWideString

Calls to write wide string.

 

method writeWideString(aName: String; aValue: String)

 

void writeWideString(String aName, String aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.

writeXml

Calls to write XmlType.

 

method writeXml(aName: String; aValue: XmlType)

 

void writeXml(String aName, XmlType aValue)

Parameters:

  • aName: Given name.
  • aValue: Given value.