| Package | org.servebox.toolbox.globalization |
| Class | public class GlobalizationDictionary |
| Inheritance | GlobalizationDictionary AbstractModel flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
| url : String [read-only]
Retruns the dictionnary URI.
| GlobalizationDictionary | ||
| Property | Defined by | ||
|---|---|---|---|
| logger : ILogger [static]
The class logger.
| GlobalizationDictionary | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new GlobalizationDictionary.
| GlobalizationDictionary | ||
|
addSchema(language:String, description:String):TranslationSchema
Adds a translation schema.
| GlobalizationDictionary | ||
|
[static]
Return the GlobalizationDictionary instance.
| GlobalizationDictionary | ||
|
getSchema(language:String):TranslationSchema
Returns the translation schema.
| GlobalizationDictionary | ||
|
load(url:String):void
| GlobalizationDictionary | ||
![]() |
notifyObservers(n:Notification):void
Notifies all observers that the model has changed.
| AbstractModel | |
|
parse(xml:XML):void
| GlobalizationDictionary | ||
![]() |
registerObserver(o:IObserver, notificationFilters:Array = null):void
Refisters an observer to the model.
| AbstractModel | |
![]() |
unregisterObserver(o:IObserver):void
Unregisters an observer from the model.
| AbstractModel | |
| logger | property |
protected static var logger:ILoggerThe class logger.
| url | property |
url:String [read-only]Retruns the dictionnary URI.
Implementation public function get url():String
| GlobalizationDictionary | () | constructor |
public function GlobalizationDictionary()Creates a new GlobalizationDictionary.
| addSchema | () | method |
public function addSchema(language:String, description:String):TranslationSchemaAdds a translation schema. Each schema is related to a language.
Parameterslanguage:String |
|
description:String |
TranslationSchema |
| getInstance | () | method |
public static function getInstance():GlobalizationDictionaryReturn the GlobalizationDictionary instance.
ReturnsGlobalizationDictionary |
| getSchema | () | method |
public function getSchema(language:String):TranslationSchemaReturns the translation schema.
Parameterslanguage:String |
TranslationSchema |
| load | () | method |
public function load(url:String):voidParameters
url:String |
| parse | () | method |
public function parse(xml:XML):voidParameters
xml:XML |