Interface org.as2lib.core.BasicInterface

org.as2lib.core.BasicInterface

Description

BasicInterface is the basic interface for each class in the As2lib Framework.

It is recommended to always implement this interface in the classes of your own project but it is not a necessity. You can use all functionalities of the As2lib Framework without implementing it.

It enables you to call the toString method on instances that have been casted to interfaces.

The default implementation BasicClass offers an enhanced toString method implementation that returns a better string representation than the default method of Flash.

Method Index

toString()

Method Detail

toString

public function toString():String

Returns the string representation of this instance.

Return

the string representation of this instance