|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.io.amf.translator.ASTranslator
public class ASTranslator
ASTranslator provides the ability to convert between ASObjects used by Flex and Java objects in your application.
| Constructor Summary | |
|---|---|
ASTranslator()
|
|
| Method Summary | |
|---|---|
Object |
convert(Object source,
Class desiredClass)
Translate an object to another object of type class. |
Object |
createInstance(Object source,
Class desiredClass)
Creates an instance of the desired class without populating the type. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASTranslator()
| Method Detail |
|---|
public Object createInstance(Object source,
Class desiredClass)
createInstance in interface TypeMarshallersource - The raw Object to be converted into an instance of the desired class.desiredClass - The type to which the source needs to be converted.
public Object convert(Object source,
Class desiredClass)
convert in interface TypeMarshallersource - The source instance.desiredClass - The type to which the source needs to be converted.
|
||||||||||
| 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/amf/translator/ASTranslator.html