|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.system.AMFWriter
public class AMFWriter
A sequential AMF Writer.
| Constructor Summary | |
|---|---|
AMFWriter()
Constructs a AMFWriter using ArcGIS Engine. |
|
AMFWriter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AMFWriter theAMFWriter = (AMFWriter) obj; |
|
| 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. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
void |
getCopy(IAMFWriter[] ppOutWriter)
Clones IAMFWriter. |
IStream |
getStream()
Obtains underlying stream. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public AMFWriter()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public AMFWriter(Object obj)
throws IOException
AMFWriter theAMFWriter = (AMFWriter) obj;
obj to AMFWriter.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void writeTo(IStream outputStream)
throws IOException,
AutomationException
writeTo in interface IAMFWriteroutputStream - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IStream getStream()
throws IOException,
AutomationException
getStream in interface IAMFWriterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3Undefined()
throws IOException,
AutomationException
writeAMF3Undefined in interface IAMFWriterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3Null()
throws IOException,
AutomationException
writeAMF3Null in interface IAMFWriterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3Bool(boolean value)
throws IOException,
AutomationException
writeAMF3Bool in interface IAMFWritervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3Int(int value)
throws IOException,
AutomationException
writeAMF3Int in interface IAMFWritervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3Double(double value)
throws IOException,
AutomationException
writeAMF3Double in interface IAMFWritervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3String(String value,
int[] string_ref)
throws IOException,
AutomationException
writeAMF3String in interface IAMFWritervalue - 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.
public void writeAMF3StringRef(int string_ref)
throws IOException,
AutomationException
writeAMF3StringRef in interface IAMFWriterstring_ref - The string_ref (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3XmlDoc(String value,
int[] obj_ref)
throws IOException,
AutomationException
writeAMF3XmlDoc in interface IAMFWritervalue - 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.
public void writeAMF3XmlDocRef(int obj_ref)
throws IOException,
AutomationException
writeAMF3XmlDocRef in interface IAMFWriterobj_ref - The obj_ref (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3Xml(String value,
int[] obj_ref)
throws IOException,
AutomationException
writeAMF3Xml in interface IAMFWritervalue - 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.
public void writeAMF3XmlRef(int obj_ref)
throws IOException,
AutomationException
writeAMF3XmlRef in interface IAMFWriterobj_ref - The obj_ref (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3Date(Date value,
boolean asJsonNumber,
int[] obj_ref)
throws IOException,
AutomationException
writeAMF3Date in interface IAMFWritervalue - 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.
public void writeAMF3DateRef(int obj_ref)
throws IOException,
AutomationException
writeAMF3DateRef in interface IAMFWriterobj_ref - The obj_ref (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3ByteArray(byte[] ppArray,
int[] obj_ref)
throws IOException,
AutomationException
writeAMF3ByteArray in interface IAMFWriterppArray - 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.
public void writeAMF3ByteArrayRef(int obj_ref)
throws IOException,
AutomationException
writeAMF3ByteArrayRef in interface IAMFWriterobj_ref - The obj_ref (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3Variant(Object value,
int[] value_ref)
throws IOException,
AutomationException
writeAMF3Variant in interface IAMFWritervalue - 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.
public void startAMF3Array(int denseCount,
int[] obj_ref)
throws IOException,
AutomationException
startAMF3Array in interface IAMFWriterdenseCount - 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.
public void writeAMF3ArrayDenseMarker()
throws IOException,
AutomationException
writeAMF3ArrayDenseMarker in interface IAMFWriterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void endAMF3Array()
throws IOException,
AutomationException
endAMF3Array in interface IAMFWriterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3ArrayRef(int obj_ref)
throws IOException,
AutomationException
writeAMF3ArrayRef in interface IAMFWriterobj_ref - The obj_ref (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void startAMF3CustomObject(String classname,
int[] obj_ref)
throws IOException,
AutomationException
startAMF3CustomObject in interface IAMFWriterclassname - 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.
public void startAMF3Object(int traits_ref,
int[] obj_ref)
throws IOException,
AutomationException
startAMF3Object in interface IAMFWritertraits_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.
public void startAMF3ObjectWithTraits(String classname,
int memberCount,
boolean dynamic,
int[] traits_ref,
int[] obj_ref)
throws IOException,
AutomationException
startAMF3ObjectWithTraits in interface IAMFWriterclassname - 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.
public void endAMF3ObjectTraits()
throws IOException,
AutomationException
endAMF3ObjectTraits in interface IAMFWriterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void endAMF3Object()
throws IOException,
AutomationException
endAMF3Object in interface IAMFWriterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3ObjectRef(int obj_ref)
throws IOException,
AutomationException
writeAMF3ObjectRef in interface IAMFWriterobj_ref - The obj_ref (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeAMF3_UTF8(String value,
int[] string_ref)
throws IOException,
AutomationException
writeAMF3_UTF8 in interface IAMFWritervalue - 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.
public void writeAMF3_UTF8Ref(int string_ref)
throws IOException,
AutomationException
writeAMF3_UTF8Ref in interface IAMFWriterstring_ref - The string_ref (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeU8(byte b)
throws IOException,
AutomationException
writeU8 in interface IAMFWriterb - An unsigned byte (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeU16(short b)
throws IOException,
AutomationException
writeU16 in interface IAMFWriterb - The b (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeU32(int b)
throws IOException,
AutomationException
writeU32 in interface IAMFWriterb - The b (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeUTF8(String value)
throws IOException,
AutomationException
writeUTF8 in interface IAMFWritervalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getCopy(IAMFWriter[] ppOutWriter)
throws IOException,
AutomationException
getCopy in interface IAMFWriterppOutWriter - 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.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 | ||||||||