|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActionMessageOutput
Entry point for serializing an individual ActionMessage response message for AMF, AMFX or RTMP Channels.
Classic / Version 0 Serializer,
AVM+ / Version 3 Serializer
For the deserialization equivalent:,
ActionMessageInput| Method Summary | |
|---|---|
void |
writeObject(Object object)
A convenient entry point for writing out any Object for conversion to ActionScript. |
| Methods inherited from interface java.io.ObjectOutput |
|---|
close, flush, write, write, write |
| Methods inherited from interface java.io.DataOutput |
|---|
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Method Detail |
|---|
void writeObject(Object object)
throws IOException
The following is a guide to the Java to ActionScript type mappings:
| Java Type | ActionScript Type (AMF 0) | ActionScript Type (AMF 3 / AMFX) |
| java.lang.String | String | String |
| java.lang.Boolean | Boolean | Boolean |
| java.lang.Integer java.lang.Short java.lang.Byte | Number | int(a) |
| java.lang.Double java.lang.Long java.lang.Float | Number | Number |
| java.util.Calendar java.util.Date | Date(b) | Date(b) |
| java.lang.Character java.lang.Character[] | String | String |
| java.lang.Byte[] | Array (of Numbers) | ByteArray |
| java.util.Collection | mx.collections.ArrayCollection(c) | mx.collections.ArrayCollection(c) |
| java.lang.Object[] (Native Array) | Array | Array |
| java.util.Map java.util.Dictionary | Object(d) | Object(d) |
| java.lang.Object (Other than the above) | Typed Object(e) | Typed Object(e) |
| null | null | null |
(a) - For AMF 3 ints, taking sign into consideration, if i < 0xF0000000 || i > 0x0FFFFFFF then value is promoted to Number
(b) - Dates are sent in the UTC timezone. Clients and servers must adjust time accordingly for timezones.
(c) - Channel serialization configuration can be set to support legacy Collection to ActionScript Array conversion
(d) - Channel serialization configuration can be set to support legacy Map to ActionScript Array (associative) conversion
(e) - Objects are serialized using Java Bean introspection rules. Fields that are static, transient or non-public are excluded.
writeObject in interface ObjectOutputobject - the Object to be written
IOException - if an I/O error occurs
|
||||||||||
| 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/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/io/amf/ActionMessageOutput.html