com.esri.arcgis.system
Class IAMFWriterProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.IAMFWriterProxy
All Implemented Interfaces:
IAMFWriter, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IAMFWriter'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to members that control the sequential writing of AMF.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

public class IAMFWriterProxy
extends com.esri.arcgis.interop.Dispatch
implements IAMFWriter, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.system.IAMFWriter
IID, IID3eb8c519_d125_48d4_aeb6_608074316ad4
 
Constructor Summary
  IAMFWriterProxy()
          Deprecated. For internal use only
  IAMFWriterProxy(java.lang.Object obj)
          Deprecated.  
protected IAMFWriterProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IAMFWriterProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IAMFWriterProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void endAMF3Array()
          Deprecated. Finishes writing an array.
 void endAMF3Object()
          Deprecated. Finishes writing object.
 void endAMF3ObjectTraits()
          Deprecated. Call this method to finish writing object traits and switch to writing members.
 void getCopy(IAMFWriter[] ppOutWriter)
          Deprecated. Clones IAMFWriter.
 IStream getStream()
          Deprecated. Obtains underlying stream.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void startAMF3Array(int denseCount, int[] obj_ref)
          Deprecated. Starts writing of array.
 void startAMF3CustomObject(java.lang.String classname, int[] obj_ref)
          Deprecated. Starst writing a custom object.
 void startAMF3Object(int traits_ref, int[] obj_ref)
          Deprecated. Starts writing an object, sends traits by reference.
 void startAMF3ObjectWithTraits(java.lang.String classname, int memberCount, boolean dynamic, int[] traits_ref, int[] obj_ref)
          Deprecated. Start writing an object with traits.
 void writeAMF3_UTF8(java.lang.String value, int[] string_ref)
          Deprecated. This method is required if you want to write member names in traits.
 void writeAMF3_UTF8Ref(int string_ref)
          Deprecated. This method is required if you want to write member names in traits by reference.
 void writeAMF3ArrayDenseMarker()
          Deprecated. Switches from writing of associative portion of an array to dense portion.
 void writeAMF3ArrayRef(int obj_ref)
          Deprecated. Writes an array by reference.
 void writeAMF3Bool(boolean value)
          Deprecated. Writes boolean value.
 void writeAMF3ByteArray(byte[] ppArray, int[] obj_ref)
          Deprecated. Writes byte array.
 void writeAMF3ByteArrayRef(int obj_ref)
          Deprecated. Writes byte array by reference.
 void writeAMF3Date(java.util.Date value, boolean asJsonNumber, int[] obj_ref)
          Deprecated. Writes date.
 void writeAMF3DateRef(int obj_ref)
          Deprecated. Writes date by reference.
 void writeAMF3Double(double value)
          Deprecated. Writes double (64-bit) value.
 void writeAMF3Int(int value)
          Deprecated. Writes integer (32-bit) value.
 void writeAMF3Null()
          Deprecated. Writes null value.
 void writeAMF3ObjectRef(int obj_ref)
          Deprecated. Writes object by reference.
 void writeAMF3String(java.lang.String value, int[] string_ref)
          Deprecated. Writes string value.
 void writeAMF3StringRef(int string_ref)
          Deprecated. Writes string value by reference.
 void writeAMF3Undefined()
          Deprecated. Writes undefined value.
 void writeAMF3Variant(java.lang.Object value, int[] value_ref)
          Deprecated. Writes value types (excluding array and object), may return string or object reference index.
 void writeAMF3Xml(java.lang.String value, int[] obj_ref)
          Deprecated. Writes XML.
 void writeAMF3XmlDoc(java.lang.String value, int[] obj_ref)
          Deprecated. Writes XML document.
 void writeAMF3XmlDocRef(int obj_ref)
          Deprecated. Writes XML document by reference.
 void writeAMF3XmlRef(int obj_ref)
          Deprecated. Writes XML by reference.
 void writeTo(IStream outputStream)
          Deprecated. Specifies output AMF stream.
 void writeU16(short b)
          Deprecated. Writes short integer.
 void writeU32(int b)
          Deprecated. Writes an integer.
 void writeU8(byte b)
          Deprecated. Writes a byte.
 void writeUTF8(java.lang.String value)
          Deprecated. This method is used to write AMF0 strings.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IAMFWriterProxy

public IAMFWriterProxy(java.lang.String CLSID,
                       java.lang.String host,
                       com.esri.arcgis.interop.AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IAMFWriterProxy

public IAMFWriterProxy()
Deprecated. 
For internal use only


IAMFWriterProxy

public IAMFWriterProxy(java.lang.Object obj)
                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IAMFWriterProxy

protected IAMFWriterProxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IAMFWriterProxy

protected IAMFWriterProxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

writeTo

public void writeTo(IStream outputStream)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Specifies output AMF stream.

Specified by:
writeTo in interface IAMFWriter
Parameters:
outputStream - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStream

public IStream getStream()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Obtains underlying stream.

Specified by:
getStream in interface IAMFWriter
Returns:
A reference to a com.esri.arcgis.system.IStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3Undefined

public void writeAMF3Undefined()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Writes undefined value.

Specified by:
writeAMF3Undefined in interface IAMFWriter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3Null

public void writeAMF3Null()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Writes null value.

Specified by:
writeAMF3Null in interface IAMFWriter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3Bool

public void writeAMF3Bool(boolean value)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Writes boolean value.

Specified by:
writeAMF3Bool in interface IAMFWriter
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3Int

public void writeAMF3Int(int value)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes integer (32-bit) value.

Specified by:
writeAMF3Int in interface IAMFWriter
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3Double

public void writeAMF3Double(double value)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Writes double (64-bit) value.

Specified by:
writeAMF3Double in interface IAMFWriter
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3String

public void writeAMF3String(java.lang.String value,
                            int[] string_ref)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Writes string value. Returns string reference index.

Specified by:
writeAMF3String in interface IAMFWriter
Parameters:
value - The value (in)
string_ref - The string_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3StringRef

public void writeAMF3StringRef(int string_ref)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Writes string value by reference.

Specified by:
writeAMF3StringRef in interface IAMFWriter
Parameters:
string_ref - The string_ref (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3XmlDoc

public void writeAMF3XmlDoc(java.lang.String value,
                            int[] obj_ref)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Writes XML document. Returns object reference index.

Specified by:
writeAMF3XmlDoc in interface IAMFWriter
Parameters:
value - The value (in)
obj_ref - The obj_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3XmlDocRef

public void writeAMF3XmlDocRef(int obj_ref)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Writes XML document by reference.

Specified by:
writeAMF3XmlDocRef in interface IAMFWriter
Parameters:
obj_ref - The obj_ref (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3Xml

public void writeAMF3Xml(java.lang.String value,
                         int[] obj_ref)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes XML. Returns object reference index.

Specified by:
writeAMF3Xml in interface IAMFWriter
Parameters:
value - The value (in)
obj_ref - The obj_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3XmlRef

public void writeAMF3XmlRef(int obj_ref)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Writes XML by reference.

Specified by:
writeAMF3XmlRef in interface IAMFWriter
Parameters:
obj_ref - The obj_ref (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3Date

public void writeAMF3Date(java.util.Date value,
                          boolean asJsonNumber,
                          int[] obj_ref)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Writes date. Returns object reference index.

Specified by:
writeAMF3Date in interface IAMFWriter
Parameters:
value - The value (in)
asJsonNumber - The asJsonNumber (in)
obj_ref - The obj_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3DateRef

public void writeAMF3DateRef(int obj_ref)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Writes date by reference. Important: do not use this method if you send dates as JSON numbers, references will be incorrect.

Specified by:
writeAMF3DateRef in interface IAMFWriter
Parameters:
obj_ref - The obj_ref (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3ByteArray

public void writeAMF3ByteArray(byte[] ppArray,
                               int[] obj_ref)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Writes byte array. Returns object reference index. Note that this is not an AMF3 array but another type - AMF3 byte array.

Specified by:
writeAMF3ByteArray in interface IAMFWriter
Parameters:
ppArray - An unsigned byte (in)
obj_ref - The obj_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3ByteArrayRef

public void writeAMF3ByteArrayRef(int obj_ref)
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Writes byte array by reference. Note that this is not an AMF3 array but another type - AMF3 byte array.

Specified by:
writeAMF3ByteArrayRef in interface IAMFWriter
Parameters:
obj_ref - The obj_ref (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3Variant

public void writeAMF3Variant(java.lang.Object value,
                             int[] value_ref)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Writes value types (excluding array and object), may return string or object reference index. If reference is not applicable, value_ref is set to -1.

Specified by:
writeAMF3Variant in interface IAMFWriter
Parameters:
value - A Variant (in)
value_ref - The value_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startAMF3Array

public void startAMF3Array(int denseCount,
                           int[] obj_ref)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Starts writing of array. Returns object reference index.

Specified by:
startAMF3Array in interface IAMFWriter
Parameters:
denseCount - The denseCount (in)
obj_ref - The obj_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3ArrayDenseMarker

public void writeAMF3ArrayDenseMarker()
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
Switches from writing of associative portion of an array to dense portion.

Specified by:
writeAMF3ArrayDenseMarker in interface IAMFWriter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endAMF3Array

public void endAMF3Array()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Finishes writing an array.

Specified by:
endAMF3Array in interface IAMFWriter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3ArrayRef

public void writeAMF3ArrayRef(int obj_ref)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Writes an array by reference.

Specified by:
writeAMF3ArrayRef in interface IAMFWriter
Parameters:
obj_ref - The obj_ref (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startAMF3CustomObject

public void startAMF3CustomObject(java.lang.String classname,
                                  int[] obj_ref)
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Starst writing a custom object. Contents of this kind of objects are user-defined.

Specified by:
startAMF3CustomObject in interface IAMFWriter
Parameters:
classname - The classname (in)
obj_ref - The obj_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startAMF3Object

public void startAMF3Object(int traits_ref,
                            int[] obj_ref)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Starts writing an object, sends traits by reference. Returns object reference index.

Specified by:
startAMF3Object in interface IAMFWriter
Parameters:
traits_ref - The traits_ref (in)
obj_ref - The obj_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startAMF3ObjectWithTraits

public void startAMF3ObjectWithTraits(java.lang.String classname,
                                      int memberCount,
                                      boolean dynamic,
                                      int[] traits_ref,
                                      int[] obj_ref)
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
Start writing an object with traits. Returns trait reference index end object reference index.

Specified by:
startAMF3ObjectWithTraits in interface IAMFWriter
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endAMF3ObjectTraits

public void endAMF3ObjectTraits()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Call this method to finish writing object traits and switch to writing members.

Specified by:
endAMF3ObjectTraits in interface IAMFWriter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endAMF3Object

public void endAMF3Object()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Finishes writing object.

Specified by:
endAMF3Object in interface IAMFWriter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3ObjectRef

public void writeAMF3ObjectRef(int obj_ref)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Writes object by reference.

Specified by:
writeAMF3ObjectRef in interface IAMFWriter
Parameters:
obj_ref - The obj_ref (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3_UTF8

public void writeAMF3_UTF8(java.lang.String value,
                           int[] string_ref)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
This method is required if you want to write member names in traits.

Specified by:
writeAMF3_UTF8 in interface IAMFWriter
Parameters:
value - The value (in)
string_ref - The string_ref (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeAMF3_UTF8Ref

public void writeAMF3_UTF8Ref(int string_ref)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
This method is required if you want to write member names in traits by reference.

Specified by:
writeAMF3_UTF8Ref in interface IAMFWriter
Parameters:
string_ref - The string_ref (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeU8

public void writeU8(byte b)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Writes a byte. AMF0 format only. Don't use this method for AMF3 objects.

Specified by:
writeU8 in interface IAMFWriter
Parameters:
b - An unsigned byte (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeU16

public void writeU16(short b)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Writes short integer. AMF0 format only. Don't use this method for AMF3 objects.

Specified by:
writeU16 in interface IAMFWriter
Parameters:
b - The b (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeU32

public void writeU32(int b)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Writes an integer. AMF0 format only. Don't use this method for AMF3 objects.

Specified by:
writeU32 in interface IAMFWriter
Parameters:
b - The b (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeUTF8

public void writeUTF8(java.lang.String value)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
This method is used to write AMF0 strings. AMF0 format only. Don't use this method for AMF3 objects.

Specified by:
writeUTF8 in interface IAMFWriter
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCopy

public void getCopy(IAMFWriter[] ppOutWriter)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Clones IAMFWriter. Useful when you want to preserve traits and object, string and trait references.

Specified by:
getCopy in interface IAMFWriter
Parameters:
ppOutWriter - A reference to a com.esri.arcgis.system.IAMFWriter (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.