com.esri.arcgis.system
Interface IJSONArray2

All Superinterfaces:
IJSONArray, java.io.Serializable
All Known Implementing Classes:
IJSONArray2Proxy, JSONArray

public interface IJSONArray2
extends IJSONArray, java.io.Serializable

COM Interface 'IJSONArray2'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides simplified DOM-like JSON serialization and de-serialization API.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID71208a81_c9e0_48c9_a81a_18558cb6ea2e
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.system.IJSONArray
IID4abe3bc0_6d3c_4fba_9c55_c9ac7c32d9b1
 
Method Summary
 void addInt64(long value)
          Adds new variant value to the array.
 void addUInt64(long value)
          Adds new variant value to the array.
 boolean tryGetValueAsInt64(int index, long[] value)
          Returns array value at a given index as LONGLONG.
 boolean tryGetValueAsUInt64(int index, long[] value)
          Returns array value at a given index as ULONGLONG.
 boolean tryGetValueAsVariant(int index, int variantType, java.lang.Object[] value)
          Returns array value at a given index as a VARIANT of the requested type.
 
Methods inherited from interface com.esri.arcgis.system.IJSONArray
add, addBoolean, addDate, addDouble, addDoubleEx, addJSONArray, addJSONObject, addLong, addNull, addString, clearAll, createMemberArray, createMemberObject, getCount, getValue, isValueNull, parseJSON, parseString, removeValue, toJSON, toJSONString, tryGetValueAsArray, tryGetValueAsBoolean, tryGetValueAsDate, tryGetValueAsDouble, tryGetValueAsLong, tryGetValueAsObject, tryGetValueAsString
 

Field Detail

IID71208a81_c9e0_48c9_a81a_18558cb6ea2e

static final int IID71208a81_c9e0_48c9_a81a_18558cb6ea2e
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

addInt64

void addInt64(long value)
              throws java.io.IOException,
                     AutomationException
Adds new variant value to the array.

Parameters:
value - Signed 64-bit int (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addUInt64

void addUInt64(long value)
               throws java.io.IOException,
                      AutomationException
Adds new variant value to the array.

Parameters:
value - Unsigned 64-bit int (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

tryGetValueAsInt64

boolean tryGetValueAsInt64(int index,
                           long[] value)
                           throws java.io.IOException,
                                  AutomationException
Returns array value at a given index as LONGLONG. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter.

Parameters:
index - The index (in)
value - Signed 64-bit int (out: use single element array)
Returns:
The success
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

tryGetValueAsUInt64

boolean tryGetValueAsUInt64(int index,
                            long[] value)
                            throws java.io.IOException,
                                   AutomationException
Returns array value at a given index as ULONGLONG. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter.

Parameters:
index - The index (in)
value - Unsigned 64-bit int (out: use single element array)
Returns:
The success
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

tryGetValueAsVariant

boolean tryGetValueAsVariant(int index,
                             int variantType,
                             java.lang.Object[] value)
                             throws java.io.IOException,
                                    AutomationException
Returns array value at a given index as a VARIANT of the requested type. If index is out of bounds or type coercion fails, returns VARIANT_FALSE in 'success' parameter.

Parameters:
index - The index (in)
variantType - The variantType (in)
value - A Variant (out: use single element array)
Returns:
The success
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.