|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.io.amf.AbstractAmfOutput
flex.messaging.io.amf.Amf3Output
public class Amf3Output
Serializes data to an output stream using the new AMF 3 format.
This class intends to match the Flash Player 8 C++ code in avmglue/DataIO.cpp
| Field Summary |
|---|
| Fields inherited from interface flex.messaging.io.amf.Amf3Types |
|---|
EMPTY_STRING, INT28_MAX_VALUE, INT28_MIN_VALUE, kArrayType, kAvmPlusXmlType, kByteArrayType, kDateType, kDoubleType, kFalseType, kIntegerType, kNullType, kObjectType, kStringType, kTrueType, kUndefinedType, kXMLType |
| Constructor Summary | |
|---|---|
Amf3Output(SerializationContext context)
|
|
| Method Summary | |
|---|---|
void |
reset()
Clear all object reference information so that the instance can be used to deserialize another data structure. |
void |
setDebugTrace(AmfTrace trace)
Turns on "trace" debugging for AMF responses. |
void |
writeObject(Object o)
Serialize an Object using AMF 3. |
void |
writeObjectEnd()
|
void |
writeObjectProperty(String name,
Object value)
|
void |
writeObjectTraits(TraitsInfo ti)
|
| Methods inherited from class flex.messaging.io.amf.AbstractAmfOutput |
|---|
close, flush, setOutputStream, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Amf3Output(SerializationContext context)
| Method Detail |
|---|
public void reset()
public void writeObject(Object o)
throws IOException
writeObject in interface ActionMessageOutputwriteObject in interface ObjectOutputo - the Object to be written
IOException - if an I/O error occurs
public void writeObjectTraits(TraitsInfo ti)
throws IOException
IOException
public void writeObjectProperty(String name,
Object value)
throws IOException
IOException
public void writeObjectEnd()
throws IOException
IOExceptionpublic void setDebugTrace(AmfTrace trace)
|
||||||||||
| 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/Amf3Output.html