|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAMFWriter
Provides access to members that control the sequential writing of AMF.
Method Summary | |
---|---|
void |
endAMF3Array()
Finishes writing an array. |
void |
endAMF3Object()
Finishes writing object. |
void |
endAMF3ObjectTraits()
Call this method to finish writing object traits and switch to writing members. |
void |
getCopy(IAMFWriter[] ppOutWriter)
Clones IAMFWriter. |
IStream |
getStream()
Obtains underlying stream. |
void |
startAMF3Array(int denseCount,
int[] obj_ref)
Starts writing of array. |
void |
startAMF3CustomObject(String classname,
int[] obj_ref)
Starst writing a custom object. |
void |
startAMF3Object(int traits_ref,
int[] obj_ref)
Starts writing an object, sends traits by reference. |
void |
startAMF3ObjectWithTraits(String classname,
int memberCount,
boolean dynamic,
int[] traits_ref,
int[] obj_ref)
Start writing an object with traits. |
void |
writeAMF3_UTF8(String value,
int[] string_ref)
This method is required if you want to write member names in traits. |
void |
writeAMF3_UTF8Ref(int string_ref)
This method is required if you want to write member names in traits by reference. |
void |
writeAMF3ArrayDenseMarker()
Switches from writing of associative portion of an array to dense portion. |
void |
writeAMF3ArrayRef(int obj_ref)
Writes an array by reference. |
void |
writeAMF3Bool(boolean value)
Writes boolean value. |
void |
writeAMF3ByteArray(byte[] ppArray,
int[] obj_ref)
Writes byte array. |
void |
writeAMF3ByteArrayRef(int obj_ref)
Writes byte array by reference. |
void |
writeAMF3Date(Date value,
boolean asJsonNumber,
int[] obj_ref)
Writes date. |
void |
writeAMF3DateRef(int obj_ref)
Writes date by reference. |
void |
writeAMF3Double(double value)
Writes double (64-bit) value. |
void |
writeAMF3Int(int value)
Writes integer (32-bit) value. |
void |
writeAMF3Null()
Writes null value. |
void |
writeAMF3ObjectRef(int obj_ref)
Writes object by reference. |
void |
writeAMF3String(String value,
int[] string_ref)
Writes string value. |
void |
writeAMF3StringRef(int string_ref)
Writes string value by reference. |
void |
writeAMF3Undefined()
Writes undefined value. |
void |
writeAMF3Variant(Object value,
int[] value_ref)
Writes value types (excluding array and object), may return string or object reference index. |
void |
writeAMF3Xml(String value,
int[] obj_ref)
Writes XML. |
void |
writeAMF3XmlDoc(String value,
int[] obj_ref)
Writes XML document. |
void |
writeAMF3XmlDocRef(int obj_ref)
Writes XML document by reference. |
void |
writeAMF3XmlRef(int obj_ref)
Writes XML by reference. |
void |
writeTo(IStream outputStream)
Specifies output AMF stream. |
void |
writeU16(short b)
Writes short integer. |
void |
writeU32(int b)
Writes an integer. |
void |
writeU8(byte b)
Writes a byte. |
void |
writeUTF8(String value)
This method is used to write AMF0 strings. |
Method Detail |
---|
void writeTo(IStream outputStream) throws IOException, AutomationException
outputStream
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IStream getStream() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3Undefined() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3Null() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3Bool(boolean value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3Int(int value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3Double(double value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3String(String value, int[] string_ref) throws IOException, AutomationException
value
- The value (in)string_ref
- The string_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3StringRef(int string_ref) throws IOException, AutomationException
string_ref
- The string_ref (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3XmlDoc(String value, int[] obj_ref) throws IOException, AutomationException
value
- The value (in)obj_ref
- The obj_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3XmlDocRef(int obj_ref) throws IOException, AutomationException
obj_ref
- The obj_ref (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3Xml(String value, int[] obj_ref) throws IOException, AutomationException
value
- The value (in)obj_ref
- The obj_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3XmlRef(int obj_ref) throws IOException, AutomationException
obj_ref
- The obj_ref (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3Date(Date value, boolean asJsonNumber, int[] obj_ref) throws IOException, AutomationException
value
- The value (in)asJsonNumber
- The asJsonNumber (in)obj_ref
- The obj_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3DateRef(int obj_ref) throws IOException, AutomationException
obj_ref
- The obj_ref (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3ByteArray(byte[] ppArray, int[] obj_ref) throws IOException, AutomationException
ppArray
- An unsigned byte (in)obj_ref
- The obj_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3ByteArrayRef(int obj_ref) throws IOException, AutomationException
obj_ref
- The obj_ref (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3Variant(Object value, int[] value_ref) throws IOException, AutomationException
value
- A Variant (in)value_ref
- The value_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void startAMF3Array(int denseCount, int[] obj_ref) throws IOException, AutomationException
denseCount
- The denseCount (in)obj_ref
- The obj_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3ArrayDenseMarker() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void endAMF3Array() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3ArrayRef(int obj_ref) throws IOException, AutomationException
obj_ref
- The obj_ref (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void startAMF3CustomObject(String classname, int[] obj_ref) throws IOException, AutomationException
classname
- The classname (in)obj_ref
- The obj_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void startAMF3Object(int traits_ref, int[] obj_ref) throws IOException, AutomationException
traits_ref
- The traits_ref (in)obj_ref
- The obj_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void startAMF3ObjectWithTraits(String classname, int memberCount, boolean dynamic, int[] traits_ref, int[] obj_ref) throws IOException, AutomationException
classname
- The classname (in)memberCount
- The memberCount (in)dynamic
- The dynamic (in)traits_ref
- The traits_ref (out: use single element array)obj_ref
- The obj_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void endAMF3ObjectTraits() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void endAMF3Object() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3ObjectRef(int obj_ref) throws IOException, AutomationException
obj_ref
- The obj_ref (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3_UTF8(String value, int[] string_ref) throws IOException, AutomationException
value
- The value (in)string_ref
- The string_ref (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeAMF3_UTF8Ref(int string_ref) throws IOException, AutomationException
string_ref
- The string_ref (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeU8(byte b) throws IOException, AutomationException
b
- An unsigned byte (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeU16(short b) throws IOException, AutomationException
b
- The b (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeU32(int b) throws IOException, AutomationException
b
- The b (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void writeUTF8(String value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getCopy(IAMFWriter[] ppOutWriter) throws IOException, AutomationException
ppOutWriter
- A reference to a com.esri.arcgis.system.IAMFWriter (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |