|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.system.IJSONArrayProxy
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 =
public class IJSONArrayProxy
Internal use class
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.IJSONArray |
---|
IID, IID4abe3bc0_6d3c_4fba_9c55_c9ac7c32d9b1 |
Constructor Summary | |
---|---|
|
IJSONArrayProxy()
Deprecated. For internal use only |
|
IJSONArrayProxy(java.lang.Object obj)
Deprecated. |
protected |
IJSONArrayProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated. |
|
IJSONArrayProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
protected |
IJSONArrayProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
Method Summary | |
---|---|
void |
add(java.lang.Object value)
Deprecated. Adds new variant value to the array. |
void |
addBoolean(boolean value)
Deprecated. Adds new boolean value to the array. |
void |
addDate(java.util.Date value)
Deprecated. Adds new DATE value to the array. |
void |
addDouble(double value)
Deprecated. Adds new double value to the array. |
void |
addDoubleEx(double value,
int precision)
Deprecated. Adds new double value to the array. |
void |
addJSONArray(IJSONArray value)
Deprecated. Adds new nested array to the array. |
void |
addJSONObject(IJSONObject value)
Deprecated. Adds new nested object to the array. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated. |
void |
addLong(int value)
Deprecated. Adds new long value to the array. |
void |
addNull()
Deprecated. Adds new null value to the array. |
void |
addString(java.lang.String value)
Deprecated. Adds new string value to the array. |
void |
clearAll()
Deprecated. Removes all values. |
void |
createMemberArray(IJSONArray[] value)
Deprecated. Creates and adds new member to the member collection. |
void |
createMemberObject(IJSONObject[] value)
Deprecated. Creates and adds new member to the member collection. |
int |
getCount()
Deprecated. Returns an array size. |
java.lang.Object |
getValue(int index)
Deprecated. Returns an array value at a given index. |
boolean |
isValueNull(int index)
Deprecated. Checks if an array value at a given index is NULL. |
void |
parseJSON(IJSONReader pReader)
Deprecated. Parses JSON array from IJSONReader into memory. |
void |
parseString(java.lang.String json)
Deprecated. Parses JSON array from string into memory. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated. |
void |
removeValue(int index)
Deprecated. Remove a value from the member collection. |
void |
toJSON(java.lang.String objectName,
IJSONWriter pWriter)
Deprecated. Converts IJSONArray to JSON representation using provided IJSONWriter. |
java.lang.String |
toJSONString(IPropertySet props)
Deprecated. Converts IJSONArray to JSON representation using IJSONWriter internally. |
boolean |
tryGetValueAsArray(int index,
IJSONArray[] value)
Deprecated. Returns array value at a given index as IJSONArray. |
boolean |
tryGetValueAsBoolean(int index,
boolean[] value)
Deprecated. Returns array value at a given index as boolean. |
boolean |
tryGetValueAsDate(int index,
java.util.Date[] value)
Deprecated. Returns array value at a given index as DATE. |
boolean |
tryGetValueAsDouble(int index,
double[] value)
Deprecated. Returns array value at a given index as double. |
boolean |
tryGetValueAsLong(int index,
int[] value)
Deprecated. Returns array value at a given index as long. |
boolean |
tryGetValueAsObject(int index,
IJSONObject[] value)
Deprecated. Returns array value at a given index as IJSONObject. |
boolean |
tryGetValueAsString(int index,
java.lang.String[] value)
Deprecated. Returns array value at a given index as string. |
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 |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IJSONArrayProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IJSONArrayProxy()
public IJSONArrayProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IJSONArrayProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IJSONArrayProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void parseString(java.lang.String json) throws java.io.IOException, AutomationException
parseString
in interface IJSONArray
json
- The json (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void parseJSON(IJSONReader pReader) throws java.io.IOException, AutomationException
parseJSON
in interface IJSONArray
pReader
- A reference to a com.esri.arcgis.system.IJSONReader (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IJSONArray
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getValue(int index) throws java.io.IOException, AutomationException
getValue
in interface IJSONArray
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValueNull(int index) throws java.io.IOException, AutomationException
isValueNull
in interface IJSONArray
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean tryGetValueAsDate(int index, java.util.Date[] value) throws java.io.IOException, AutomationException
tryGetValueAsDate
in interface IJSONArray
index
- The index (in)value
- The value (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean tryGetValueAsBoolean(int index, boolean[] value) throws java.io.IOException, AutomationException
tryGetValueAsBoolean
in interface IJSONArray
index
- The index (in)value
- The value (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean tryGetValueAsLong(int index, int[] value) throws java.io.IOException, AutomationException
tryGetValueAsLong
in interface IJSONArray
index
- The index (in)value
- The value (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean tryGetValueAsDouble(int index, double[] value) throws java.io.IOException, AutomationException
tryGetValueAsDouble
in interface IJSONArray
index
- The index (in)value
- The value (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean tryGetValueAsString(int index, java.lang.String[] value) throws java.io.IOException, AutomationException
tryGetValueAsString
in interface IJSONArray
index
- The index (in)value
- The value (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean tryGetValueAsObject(int index, IJSONObject[] value) throws java.io.IOException, AutomationException
tryGetValueAsObject
in interface IJSONArray
index
- The index (in)value
- A reference to a com.esri.arcgis.system.IJSONObject (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean tryGetValueAsArray(int index, IJSONArray[] value) throws java.io.IOException, AutomationException
tryGetValueAsArray
in interface IJSONArray
index
- The index (in)value
- A reference to a com.esri.arcgis.system.IJSONArray (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(java.lang.Object value) throws java.io.IOException, AutomationException
add
in interface IJSONArray
value
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDate(java.util.Date value) throws java.io.IOException, AutomationException
addDate
in interface IJSONArray
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addBoolean(boolean value) throws java.io.IOException, AutomationException
addBoolean
in interface IJSONArray
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addLong(int value) throws java.io.IOException, AutomationException
addLong
in interface IJSONArray
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDouble(double value) throws java.io.IOException, AutomationException
addDouble
in interface IJSONArray
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addString(java.lang.String value) throws java.io.IOException, AutomationException
addString
in interface IJSONArray
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addNull() throws java.io.IOException, AutomationException
addNull
in interface IJSONArray
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addJSONObject(IJSONObject value) throws java.io.IOException, AutomationException
addJSONObject
in interface IJSONArray
value
- A reference to a com.esri.arcgis.system.IJSONObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addJSONArray(IJSONArray value) throws java.io.IOException, AutomationException
addJSONArray
in interface IJSONArray
value
- A reference to a com.esri.arcgis.system.IJSONArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createMemberObject(IJSONObject[] value) throws java.io.IOException, AutomationException
createMemberObject
in interface IJSONArray
value
- A reference to a com.esri.arcgis.system.IJSONObject (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void createMemberArray(IJSONArray[] value) throws java.io.IOException, AutomationException
createMemberArray
in interface IJSONArray
value
- A reference to a com.esri.arcgis.system.IJSONArray (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String toJSONString(IPropertySet props) throws java.io.IOException, AutomationException
toJSONString
in interface IJSONArray
props
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void toJSON(java.lang.String objectName, IJSONWriter pWriter) throws java.io.IOException, AutomationException
toJSON
in interface IJSONArray
objectName
- The objectName (in)pWriter
- A reference to a com.esri.arcgis.system.IJSONWriter (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeValue(int index) throws java.io.IOException, AutomationException
removeValue
in interface IJSONArray
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearAll() throws java.io.IOException, AutomationException
clearAll
in interface IJSONArray
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDoubleEx(double value, int precision) throws java.io.IOException, AutomationException
addDoubleEx
in interface IJSONArray
value
- The value (in)precision
- The precision (in)
java.io.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 |