Class org.as2lib.Config

org.as2lib.core.BasicClass
   +--org.as2lib.Config

Description

Config is the basic configuration class of the as2lib framework.

It lets you configure global behavior of key features like the stringification of classes and instances.

Method Index

getObjectStringifier(), setObjectStringifier()

Inherited from BasicClass

toString()

Method Detail

setObjectStringifier

static public function setObjectStringifier(newStringifier:Stringifier):Void

Sets a new stringifier used to stringify objects.

If newStringifier is null or undefined getObjectStringifier will return the default stringifier.

Parameters

newStringifierthe new object stringifier

getObjectStringifier

static public function getObjectStringifier(Void):Stringifier

Returns the stringifier used to stringify objects.

If no stringifier is set the default stringifier will be returned. This is an instance of class ObjectStringifier.

Return

the currently used object stringifier