com.esri.arcgis.system
Class IJSONReader2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.IJSONReaderProxy
          extended by com.esri.arcgis.system.IJSONReader2Proxy
All Implemented Interfaces:
IJSONReader, IJSONReader2, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
IJSONReader3Proxy

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

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 IJSONReader2Proxy
extends IJSONReaderProxy
implements IJSONReader2, 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.IJSONReader2
IID, IID2c573605_c449_47e3_a483_f441192840fa
 
Fields inherited from interface com.esri.arcgis.system.IJSONReader
IID48105a80_e0dc_4d69_bb61_3df74cafa52c
 
Constructor Summary
  IJSONReader2Proxy()
          Deprecated. For internal use only
  IJSONReader2Proxy(java.lang.Object obj)
          Deprecated.  
protected IJSONReader2Proxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IJSONReader2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IJSONReader2Proxy(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.  
 java.lang.Object parseJSONString(java.lang.String json)
          Deprecated. Parses JSON string into memory.
 void readValueEx(java.lang.Object[] pVal, int[] precision)
          Deprecated. Obtains array or property value as Variant along with precision if it is a double.
 void removeAllBookmarks()
          Deprecated. Removes all bookmarks.
 void removeBookmark(java.lang.String name)
          Deprecated. Moves the reader back to a token that has a bookmark with the given name.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void returnToBookmark(java.lang.String name)
          Deprecated. Moves the reader back to a token that has a bookmark with the given name.
 void setBookmark(java.lang.String name)
          Deprecated. Creates a bookmark on the current token and assigns it a name.
 
Methods inherited from class com.esri.arcgis.system.IJSONReaderProxy
findProperties, findProperty, getCurrentTokenType, getStream, isBoolean, isEndOfArray, isEndOfObject, isNull, isNumber, isStartOfArray, isStartOfObject, isString, read, readFrom, readFromString, readPropertyName, readValue, readValueAsBoolean, readValueAsDate, readValueAsDouble, readValueAsLong, readValueAsString, skipUntilArrayEnds, skipUntilObjectEnds
 
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
 
Methods inherited from interface com.esri.arcgis.system.IJSONReader
findProperties, findProperty, getCurrentTokenType, getStream, isBoolean, isEndOfArray, isEndOfObject, isNull, isNumber, isStartOfArray, isStartOfObject, isString, read, readFrom, readFromString, readPropertyName, readValue, readValueAsBoolean, readValueAsDate, readValueAsDouble, readValueAsLong, readValueAsString, skipUntilArrayEnds, skipUntilObjectEnds
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IJSONReader2Proxy

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

IJSONReader2Proxy

public IJSONReader2Proxy()
Deprecated. 
For internal use only


IJSONReader2Proxy

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

IJSONReader2Proxy

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

IJSONReader2Proxy

protected IJSONReader2Proxy(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 IJSONReaderProxy
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 IJSONReaderProxy
Throws:
java.io.IOException

parseJSONString

public java.lang.Object parseJSONString(java.lang.String json)
                                 throws java.io.IOException,
                                        AutomationException
Deprecated. 
Parses JSON string into memory. Returns either IJSONObject or IJSONArray in a 'root' parameter. Doesn't change state of existing IJSONReader2 instance.

Specified by:
parseJSONString in interface IJSONReader2
Parameters:
json - The json (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBookmark

public void setBookmark(java.lang.String name)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Creates a bookmark on the current token and assigns it a name. Only works if you use ReadFromString(), otherwise returns E_FAIL.

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

returnToBookmark

public void returnToBookmark(java.lang.String name)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Moves the reader back to a token that has a bookmark with the given name.

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

removeBookmark

public void removeBookmark(java.lang.String name)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Moves the reader back to a token that has a bookmark with the given name.

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

removeAllBookmarks

public void removeAllBookmarks()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Removes all bookmarks.

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

readValueEx

public void readValueEx(java.lang.Object[] pVal,
                        int[] precision)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Obtains array or property value as Variant along with precision if it is a double. Advances to the next token.

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