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 IJSONObjectProxy extends com.esri.arcgis.interop.Dispatch implements IJSONObject, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
boolean |
noncastable
Deprecated.
|
static java.lang.Class |
targetClass
Deprecated.
|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRefIID, IIDeea70515_fa6b_4dee_ab79_d7935bf3a838| Modifier | Constructor and Description |
|---|---|
|
IJSONObjectProxy()
Deprecated.
For internal use only
|
|
IJSONObjectProxy(java.lang.Object obj)
Deprecated.
|
protected |
IJSONObjectProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated.
|
|
IJSONObjectProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
protected |
IJSONObjectProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String name,
java.lang.Object value)
Deprecated.
Adds new member name-value pair to the member collection.
|
void |
addBoolean(java.lang.String name,
boolean value)
Deprecated.
Adds new member name-value pair to the member collection.
|
void |
addDate(java.lang.String name,
java.util.Date value)
Deprecated.
Adds new member name-value pair to the member collection.
|
void |
addDouble(java.lang.String name,
double value)
Deprecated.
Adds new member name-value pair to the member collection.
|
void |
addDoubleEx(java.lang.String name,
double value,
int precision)
Deprecated.
Adds new member name-value pair to the member collection.
|
void |
addJSONArray(java.lang.String name,
IJSONArray value)
Deprecated.
Adds new member name-value pair to the member collection.
|
void |
addJSONObject(java.lang.String name,
IJSONObject value)
Deprecated.
Adds new member name-value pair to the member collection.
|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated.
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
void |
addLong(java.lang.String name,
int value)
Deprecated.
Adds new member name-value pair to the member collection.
|
void |
addNull(java.lang.String name)
Deprecated.
Adds new member with the value of null to the member collection.
|
void |
addString(java.lang.String name,
java.lang.String value)
Deprecated.
Adds new member name-value pair to the member collection.
|
void |
clearAll()
Deprecated.
Removes all members.
|
void |
createMemberArray(java.lang.String name,
IJSONArray[] value)
Deprecated.
Creates and adds new member name-value pair to the member collection.
|
void |
createMemberObject(java.lang.String name,
IJSONObject[] value)
Deprecated.
Creates and adds new member name-value pair to the member collection.
|
void |
getMemberAt(int index,
java.lang.String[] name,
java.lang.Object[] value)
Deprecated.
Returns member name and value at a given index.
|
int |
getMemberCount()
Deprecated.
Returns size of member collection.
|
boolean |
isCaseSensitiveNames()
Deprecated.
Returns true if member name lookups are case-sensitive.
|
boolean |
isValueNull(java.lang.String name)
Deprecated.
Returns VARIANT_TRUE if member is undefined or member's value is null.
|
void |
makeValueNull(java.lang.String name)
Deprecated.
Make a designated member NULL.
|
boolean |
memberExists(java.lang.String name)
Deprecated.
Checks if a member with the given name exists.
|
void |
parseJSON(IJSONReader pReader)
Deprecated.
Parses JSON object from IJSONReader into memory.
|
void |
parseString(java.lang.String json)
Deprecated.
Parses JSON object from string into memory.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated.
Removes a Java object as a listener to events generated by a COM object.
|
void |
removeMember(java.lang.String name)
Deprecated.
Remove a member from the member collection.
|
void |
setCaseSensitiveNames(boolean case_sensitive)
Deprecated.
Returns true if member name lookups are case-sensitive.
|
void |
toJSON(java.lang.String objectName,
IJSONWriter pWriter)
Deprecated.
Converts IJSONObject to JSON representation using provided IJSONWriter.
|
java.lang.String |
toJSONString(IPropertySet props)
Deprecated.
Converts IJSONObject to JSON representation using IJSONWriter internally.
|
boolean |
tryGetValue(java.lang.String name,
java.lang.Object[] value)
Deprecated.
Returns member value for a given name.
|
boolean |
tryGetValueAsArray(java.lang.String name,
IJSONArray[] value)
Deprecated.
Returns member value for a given name as IJSONArray.
|
boolean |
tryGetValueAsBoolean(java.lang.String name,
boolean[] value)
Deprecated.
Returns member value for a given name as boolean.
|
boolean |
tryGetValueAsDate(java.lang.String name,
java.util.Date[] value)
Deprecated.
Returns member value for a given name as DATE.
|
boolean |
tryGetValueAsDouble(java.lang.String name,
double[] value)
Deprecated.
Returns member value for a given name as double.
|
boolean |
tryGetValueAsLong(java.lang.String name,
int[] value)
Deprecated.
Returns member value for a given name as long.
|
boolean |
tryGetValueAsObject(java.lang.String name,
IJSONObject[] value)
Deprecated.
Returns member value for a given name as IJSONObject.
|
boolean |
tryGetValueAsString(java.lang.String name,
java.lang.String[] value)
Deprecated.
Returns member value for a given name as string.
|
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, writeExternalpublic static final java.lang.Class targetClass
public boolean noncastable
public IJSONObjectProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
java.net.UnknownHostExceptionjava.io.IOExceptionpublic IJSONObjectProxy()
public IJSONObjectProxy(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionprotected IJSONObjectProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
java.io.IOExceptionprotected IJSONObjectProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.io.IOException
java.io.IOExceptionpublic void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
com.esri.arcgis.interop.DispatchaddListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the eventsjava.io.IOExceptionpublic void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
com.esri.arcgis.interop.DispatchremoveListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the eventsjava.io.IOExceptionpublic void parseString(java.lang.String json)
throws java.io.IOException,
AutomationException
parseString in interface IJSONObjectjson - 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 IJSONObjectpReader - 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 boolean isCaseSensitiveNames()
throws java.io.IOException,
AutomationException
isCaseSensitiveNames in interface IJSONObjectjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setCaseSensitiveNames(boolean case_sensitive)
throws java.io.IOException,
AutomationException
setCaseSensitiveNames in interface IJSONObjectcase_sensitive - The case_sensitive (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean memberExists(java.lang.String name)
throws java.io.IOException,
AutomationException
memberExists in interface IJSONObjectname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isValueNull(java.lang.String name)
throws java.io.IOException,
AutomationException
isValueNull in interface IJSONObjectname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getMemberCount()
throws java.io.IOException,
AutomationException
getMemberCount in interface IJSONObjectjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getMemberAt(int index,
java.lang.String[] name,
java.lang.Object[] value)
throws java.io.IOException,
AutomationException
getMemberAt in interface IJSONObjectindex - The index (in)name - The name (out: use single element array)value - A Variant (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean tryGetValue(java.lang.String name,
java.lang.Object[] value)
throws java.io.IOException,
AutomationException
tryGetValue in interface IJSONObjectname - The name (in)value - A Variant (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean tryGetValueAsDate(java.lang.String name,
java.util.Date[] value)
throws java.io.IOException,
AutomationException
tryGetValueAsDate in interface IJSONObjectname - The name (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(java.lang.String name,
boolean[] value)
throws java.io.IOException,
AutomationException
tryGetValueAsBoolean in interface IJSONObjectname - The name (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(java.lang.String name,
int[] value)
throws java.io.IOException,
AutomationException
tryGetValueAsLong in interface IJSONObjectname - The name (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(java.lang.String name,
double[] value)
throws java.io.IOException,
AutomationException
tryGetValueAsDouble in interface IJSONObjectname - The name (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(java.lang.String name,
java.lang.String[] value)
throws java.io.IOException,
AutomationException
tryGetValueAsString in interface IJSONObjectname - The name (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(java.lang.String name,
IJSONObject[] value)
throws java.io.IOException,
AutomationException
tryGetValueAsObject in interface IJSONObjectname - The name (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(java.lang.String name,
IJSONArray[] value)
throws java.io.IOException,
AutomationException
tryGetValueAsArray in interface IJSONObjectname - The name (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 addDate(java.lang.String name,
java.util.Date value)
throws java.io.IOException,
AutomationException
addDate in interface IJSONObjectname - The name (in)value - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addBoolean(java.lang.String name,
boolean value)
throws java.io.IOException,
AutomationException
addBoolean in interface IJSONObjectname - The name (in)value - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addLong(java.lang.String name,
int value)
throws java.io.IOException,
AutomationException
addLong in interface IJSONObjectname - The name (in)value - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addDouble(java.lang.String name,
double value)
throws java.io.IOException,
AutomationException
addDouble in interface IJSONObjectname - The name (in)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 name,
java.lang.String value)
throws java.io.IOException,
AutomationException
addString in interface IJSONObjectname - The name (in)value - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addNull(java.lang.String name)
throws java.io.IOException,
AutomationException
addNull in interface IJSONObjectname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void add(java.lang.String name,
java.lang.Object value)
throws java.io.IOException,
AutomationException
add in interface IJSONObjectname - The name (in)value - A Variant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addJSONObject(java.lang.String name,
IJSONObject value)
throws java.io.IOException,
AutomationException
addJSONObject in interface IJSONObjectname - The name (in)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(java.lang.String name,
IJSONArray value)
throws java.io.IOException,
AutomationException
addJSONArray in interface IJSONObjectname - The name (in)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(java.lang.String name,
IJSONObject[] value)
throws java.io.IOException,
AutomationException
createMemberObject in interface IJSONObjectname - The name (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 void createMemberArray(java.lang.String name,
IJSONArray[] value)
throws java.io.IOException,
AutomationException
createMemberArray in interface IJSONObjectname - The name (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 makeValueNull(java.lang.String name)
throws java.io.IOException,
AutomationException
makeValueNull in interface IJSONObjectname - The name (in)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 IJSONObjectprops - 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 IJSONObjectobjectName - 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 removeMember(java.lang.String name)
throws java.io.IOException,
AutomationException
removeMember in interface IJSONObjectname - The name (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 IJSONObjectjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addDoubleEx(java.lang.String name,
double value,
int precision)
throws java.io.IOException,
AutomationException
addDoubleEx in interface IJSONObjectname - The name (in)value - The value (in)precision - The precision (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.