com.esri.arcgis.system
Class IJSONWriterProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.IJSONWriterProxy
All Implemented Interfaces:
IJSONWriter, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IJSONWriter2Proxy

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

Description: 'Provides access to members that control the sequential writing of JSON.' 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 IJSONWriterProxy
extends com.esri.arcgis.interop.Dispatch
implements IJSONWriter, 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.IJSONWriter
IID, IID408cd30c_b7a6_4793_a07c_4181035c66e7
 
Constructor Summary
  IJSONWriterProxy()
          Deprecated. For internal use only
  IJSONWriterProxy(java.lang.Object obj)
          Deprecated.  
protected IJSONWriterProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IJSONWriterProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IJSONWriterProxy(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 endArray()
          Deprecated. Ends an array.
 void endObject()
          Deprecated. Ends writing of an object.
 IStream getStream()
          Deprecated. Obtains underlying stream.
 byte[] getStringBuffer()
          Deprecated. Obtains copy of string buffer.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setFormatted(boolean value)
          Deprecated. Writes 'pretty' formatting on or off.
 void setIndent(int value)
          Deprecated. Writes indent for 'pretty' formatting.
 void startArray(java.lang.String name)
          Deprecated. Starts an array.
 void startObject(java.lang.String name)
          Deprecated. Starts writing an object.
 void writeBinary(java.lang.String name, byte[] value)
          Deprecated. Writes a byte array.
 void writeBinaryVal(byte[] value)
          Deprecated. Writes a byte array.
 void writeBoolean(java.lang.String name, boolean value)
          Deprecated. Writes a boolean.
 void writeBooleanVal(boolean value)
          Deprecated. Writes a boolean in array.
 void writeByte(java.lang.String name, byte value)
          Deprecated. Writes a byte.
 void writeByteVal(byte value)
          Deprecated. Writes a byte in array.
 void writeDate(java.lang.String name, java.util.Date value, boolean asString)
          Deprecated. Writes a date.
 void writeDateVal(java.util.Date value, boolean asString)
          Deprecated. Writes a date in array.
 void writeDouble(java.lang.String name, double value)
          Deprecated. Writes a double.
 void writeDoubleVal(double value)
          Deprecated. Writes a double in array.
 void writeFloat(java.lang.String name, float value)
          Deprecated. Writes a float.
 void writeFloatVal(float value)
          Deprecated. Writes a float in array.
 void writeInteger(java.lang.String name, int value)
          Deprecated. Writes an integer.
 void writeIntegerVal(int value)
          Deprecated. Writes an integer in array.
 void writeNull(java.lang.String name)
          Deprecated. Writes null property.
 void writeNullVal()
          Deprecated. Writes null value in array.
 void writeShort(java.lang.String name, short value)
          Deprecated. Writes a short.
 void writeShortVal(short value)
          Deprecated. Writes a short int in array.
 void writeString(java.lang.String name, java.lang.String value)
          Deprecated. Writes a string property.
 void writeStringVal(java.lang.String value)
          Deprecated. Writes a string in array.
 void writeTo(IStream outputStream)
          Deprecated. Specifies output JSON stream.
 void writeToString()
          Deprecated. Redirects writing to internal string buffer.
 void writeVariant(java.lang.String name, java.lang.Object value)
          Deprecated. Writes a variant valued property.
 void writeVariantVal(java.lang.Object value)
          Deprecated. Writes a variant in array.
 
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

IJSONWriterProxy

public IJSONWriterProxy(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

IJSONWriterProxy

public IJSONWriterProxy()
Deprecated. 
For internal use only


IJSONWriterProxy

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

IJSONWriterProxy

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

IJSONWriterProxy

protected IJSONWriterProxy(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 JSON stream.

Specified by:
writeTo in interface IJSONWriter
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.

writeToString

public void writeToString()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Redirects writing to internal string buffer.

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

getStringBuffer

public byte[] getStringBuffer()
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Obtains copy of string buffer. Encoding is UTF8.

Specified by:
getStringBuffer in interface IJSONWriter
Returns:
An unsigned byte
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. If WriteTo() is not called yet, will return NULL. Also will return NULL if WriteToString() was called.

Specified by:
getStream in interface IJSONWriter
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.

setFormatted

public void setFormatted(boolean value)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes 'pretty' formatting on or off.

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

setIndent

public void setIndent(int value)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Writes indent for 'pretty' formatting. Default is 2.

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

startObject

public void startObject(java.lang.String name)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Starts writing an object.

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

endObject

public void endObject()
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Ends writing of an object.

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

startArray

public void startArray(java.lang.String name)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Starts an array.

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

endArray

public void endArray()
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Ends an array.

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

writeVariant

public void writeVariant(java.lang.String name,
                         java.lang.Object value)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes a variant valued property.

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

writeString

public void writeString(java.lang.String name,
                        java.lang.String value)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Writes a string property.

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

writeBoolean

public void writeBoolean(java.lang.String name,
                         boolean value)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes a boolean.

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

writeByte

public void writeByte(java.lang.String name,
                      byte value)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Writes a byte.

Specified by:
writeByte in interface IJSONWriter
Parameters:
name - The name (in)
value - An unsigned byte (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeShort

public void writeShort(java.lang.String name,
                       short value)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Writes a short.

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

writeInteger

public void writeInteger(java.lang.String name,
                         int value)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes an integer.

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

writeFloat

public void writeFloat(java.lang.String name,
                       float value)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Writes a float.

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

writeDouble

public void writeDouble(java.lang.String name,
                        double value)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Writes a double.

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

writeDate

public void writeDate(java.lang.String name,
                      java.util.Date value,
                      boolean asString)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Writes a date.

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

writeBinary

public void writeBinary(java.lang.String name,
                        byte[] value)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Writes a byte array.

Specified by:
writeBinary in interface IJSONWriter
Parameters:
name - The name (in)
value - An unsigned byte (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeNull

public void writeNull(java.lang.String name)
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Writes null property.

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

writeVariantVal

public void writeVariantVal(java.lang.Object value)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Writes a variant in array.

Specified by:
writeVariantVal in interface IJSONWriter
Parameters:
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeStringVal

public void writeStringVal(java.lang.String value)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Writes a string in array.

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

writeBooleanVal

public void writeBooleanVal(boolean value)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Writes a boolean in array.

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

writeByteVal

public void writeByteVal(byte value)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes a byte in array.

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

writeShortVal

public void writeShortVal(short value)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Writes a short int in array.

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

writeIntegerVal

public void writeIntegerVal(int value)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Writes an integer in array.

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

writeFloatVal

public void writeFloatVal(float value)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Writes a float in array.

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

writeDoubleVal

public void writeDoubleVal(double value)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Writes a double in array.

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

writeDateVal

public void writeDateVal(java.util.Date value,
                         boolean asString)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes a date in array.

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

writeBinaryVal

public void writeBinaryVal(byte[] value)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Writes a byte array.

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

writeNullVal

public void writeNullVal()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes null value in array.

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