|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.io.ClassAliasRegistry
public class ClassAliasRegistry
A simple registry that maps an alias to a concrete class name. This registry mimics the ActionScript 3 flash.net.registerClassAlias() functionality of the Flash Player. The registry is checked when deserializing AMF object types.
| Method Summary | |
|---|---|
void |
clear()
Clears all items from the registry. |
String |
getClassName(String alias)
Looks for a concrete class name for an alias. |
static ClassAliasRegistry |
getRegistry()
Returns the registry singleton. |
void |
registerAlias(String alias,
String className)
Registers a custom alias for a class name. |
void |
unregisterAlias(String alias)
Removes a class alias from the registry. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ClassAliasRegistry getRegistry()
public String getClassName(String alias)
alias - The alias used to search the registry.
public void clear()
public void registerAlias(String alias,
String className)
alias - The alias for the class name.className - The concrete class name.public void unregisterAlias(String alias)
alias - The alias to be removed from the registry.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/ClassAliasRegistry.html