Serializer
Overview
Base serializer class.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
constructor protected
constructor
Serializer()
init()
Serializer()
Sub New()
EndList virtual abstract
End a list
method EndList
void EndList()
func EndList()
void EndList()
Sub EndList()
EndObject virtual abstract
End an object
method EndObject
void EndObject()
func EndObject()
void EndObject()
Sub EndObject()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
SelectProperty virtual abstract
Select a property, this is generally used to set the next name of the thing to write
method SelectProperty(aFirst: Boolean; aProperty: PropertyInfo)
void SelectProperty(Boolean aFirst, PropertyInfo aProperty)
func SelectProperty(_ aFirst: Boolean, _ aProperty: PropertyInfo)
void SelectProperty(Boolean aFirst, PropertyInfo aProperty)
Sub SelectProperty(aFirst As Boolean, aProperty As PropertyInfo)
Parameters:
- aFirst:
- aProperty:
StartList virtual abstract
Start a list
method StartList
void StartList()
func StartList()
void StartList()
Sub StartList()
StartListEntry virtual
Starts a new list entry
method StartListEntry(aFirst: Boolean)
void StartListEntry(Boolean aFirst)
func StartListEntry(_ aFirst: Boolean)
void StartListEntry(Boolean aFirst)
Sub StartListEntry(aFirst As Boolean)
Parameters:
- aFirst:
StartObject virtual abstract
Start an object
method StartObject
void StartObject()
func StartObject()
void StartObject()
Sub StartObject()
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Write
method Write(anObj: Object)
void Write(Object anObj)
func Write(_ anObj: Object)
void Write(Object anObj)
Sub Write(anObj As Object)
Parameters:
- anObj:
WriteValue virtual abstract
Write basic value like ints, strings
method WriteValue(aValue: Object)
void WriteValue(Object aValue)
func WriteValue(_ aValue: Object)
void WriteValue(Object aValue)
Sub WriteValue(aValue As Object)
Parameters:
- aValue:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
constructor protected
constructor
Serializer()
init()
Serializer()
Sub New()
EndList virtual abstract
End a list
method EndList
void EndList()
func EndList()
void EndList()
Sub EndList()
EndObject virtual abstract
End an object
method EndObject
void EndObject()
func EndObject()
void EndObject()
Sub EndObject()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
SelectProperty virtual abstract
Select a property, this is generally used to set the next name of the thing to write
method SelectProperty(aFirst: Boolean; aProperty: PropertyInfo)
void SelectProperty(Boolean aFirst, PropertyInfo aProperty)
func SelectProperty(_ aFirst: Boolean, _ aProperty: PropertyInfo)
void SelectProperty(Boolean aFirst, PropertyInfo aProperty)
Sub SelectProperty(aFirst As Boolean, aProperty As PropertyInfo)
Parameters:
- aFirst:
- aProperty:
StartList virtual abstract
Start a list
method StartList
void StartList()
func StartList()
void StartList()
Sub StartList()
StartListEntry virtual
Starts a new list entry
method StartListEntry(aFirst: Boolean)
void StartListEntry(Boolean aFirst)
func StartListEntry(_ aFirst: Boolean)
void StartListEntry(Boolean aFirst)
Sub StartListEntry(aFirst As Boolean)
Parameters:
- aFirst:
StartObject virtual abstract
Start an object
method StartObject
void StartObject()
func StartObject()
void StartObject()
Sub StartObject()
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Write
method Write(anObj: Object)
void Write(Object anObj)
func Write(_ anObj: Object)
void Write(Object anObj)
Sub Write(anObj As Object)
Parameters:
- anObj:
WriteValue virtual abstract
Write basic value like ints, strings
method WriteValue(aValue: Object)
void WriteValue(Object aValue)
func WriteValue(_ aValue: Object)
void WriteValue(Object aValue)
Sub WriteValue(aValue As Object)
Parameters:
- aValue: