com.esri.arcgis.system
Class IJSONReaderProxy

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

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

Description: 'Provides access to Sequential JSON Reader.' 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 IJSONReaderProxy
extends com.esri.arcgis.interop.Dispatch
implements IJSONReader, 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.IJSONReader
IID, IID48105a80_e0dc_4d69_bb61_3df74cafa52c
 
Constructor Summary
  IJSONReaderProxy()
          Deprecated. For internal use only
  IJSONReaderProxy(java.lang.Object obj)
          Deprecated.  
protected IJSONReaderProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IJSONReaderProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IJSONReaderProxy(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.  
 int findProperties(IStringArray propnames)
          Deprecated. Reads current object until one of property names matches.
 boolean findProperty(java.lang.String propname)
          Deprecated. Reads current object until property name matches or object ends.
 int getCurrentTokenType()
          Deprecated. Obtains type of current token.
 IStream getStream()
          Deprecated. Obtains underlying stream.
 boolean isBoolean()
          Deprecated. Indicates true if current token is a property value or array value of boolean type.
 boolean isEndOfArray()
          Deprecated. Indicates true if current token is ']'.
 boolean isEndOfObject()
          Deprecated. Indicates true if current token is '}'.
 boolean isNull()
          Deprecated. Indicates true if current token is a property value or array value and equals to null.
 boolean isNumber()
          Deprecated. Indicates true if current token is a property value or array value of numeric type.
 boolean isStartOfArray()
          Deprecated. Indicates true if current token is '['.
 boolean isStartOfObject()
          Deprecated. Indicates true if current token is '{'.
 boolean isString()
          Deprecated. Indicates true if current token is a property value or array value of type string.
 void read()
          Deprecated. Reads next JSON token.
 void readFrom(IStream inputStream)
          Deprecated. Specifies input stream.
 void readFromString(java.lang.String text)
          Deprecated. Specifies input as string.
 java.lang.String readPropertyName()
          Deprecated. Obtains property name.
 java.lang.Object readValue()
          Deprecated. Obtains array or property value as Variant.
 boolean readValueAsBoolean()
          Deprecated. Obtains array or property value as boolean.
 java.util.Date readValueAsDate()
          Deprecated. Obtains property or array value as date.
 double readValueAsDouble()
          Deprecated. Obtains property or array value as number.
 int readValueAsLong()
          Deprecated. Obtains property or array value as number.
 java.lang.String readValueAsString()
          Deprecated. Obtains property or array value as string.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void skipUntilArrayEnds()
          Deprecated. Skips the rest of the current object, including closing bracket.
 void skipUntilObjectEnds()
          Deprecated. Skips the rest of the current object, including closing bracket.
 
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

IJSONReaderProxy

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

IJSONReaderProxy

public IJSONReaderProxy()
Deprecated. 
For internal use only


IJSONReaderProxy

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

IJSONReaderProxy

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

IJSONReaderProxy

protected IJSONReaderProxy(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

readFrom

public void readFrom(IStream inputStream)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Specifies input stream.

Specified by:
readFrom in interface IJSONReader
Parameters:
inputStream - 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.

readFromString

public void readFromString(java.lang.String text)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Specifies input as string.

Specified by:
readFromString in interface IJSONReader
Parameters:
text - The text (in)
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.

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

read

public void read()
          throws java.io.IOException,
                 AutomationException
Deprecated. 
Reads next JSON token.

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

getCurrentTokenType

public int getCurrentTokenType()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Obtains type of current token.

Specified by:
getCurrentTokenType in interface IJSONReader
Returns:
A com.esri.arcgis.system.JSONTokenType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isStartOfObject

public boolean isStartOfObject()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Indicates true if current token is '{'.

Specified by:
isStartOfObject in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEndOfObject

public boolean isEndOfObject()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Indicates true if current token is '}'.

Specified by:
isEndOfObject in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isStartOfArray

public boolean isStartOfArray()
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Indicates true if current token is '['.

Specified by:
isStartOfArray in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEndOfArray

public boolean isEndOfArray()
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Indicates true if current token is ']'.

Specified by:
isEndOfArray in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isString

public boolean isString()
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Indicates true if current token is a property value or array value of type string.

Specified by:
isString in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNumber

public boolean isNumber()
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Indicates true if current token is a property value or array value of numeric type.

Specified by:
isNumber in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBoolean

public boolean isBoolean()
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Indicates true if current token is a property value or array value of boolean type.

Specified by:
isBoolean in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isNull

public boolean isNull()
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Indicates true if current token is a property value or array value and equals to null.

Specified by:
isNull in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readValue

public java.lang.Object readValue()
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Obtains array or property value as Variant. Advances to the next token.

Specified by:
readValue in interface IJSONReader
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readPropertyName

public java.lang.String readPropertyName()
                                  throws java.io.IOException,
                                         AutomationException
Deprecated. 
Obtains property name. Advances to the next token.

Specified by:
readPropertyName in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readValueAsString

public java.lang.String readValueAsString()
                                   throws java.io.IOException,
                                          AutomationException
Deprecated. 
Obtains property or array value as string. Advances to the next token. If property value cannot be coerced to string, returns E_FAIL.

Specified by:
readValueAsString in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readValueAsLong

public int readValueAsLong()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Obtains property or array value as number. Advances to the next token. If property value cannot be coerced to long, returns E_FAIL.

Specified by:
readValueAsLong in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readValueAsDouble

public double readValueAsDouble()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Obtains property or array value as number. Advances to the next token. If property value cannot be coerced to double, returns E_FAIL.

Specified by:
readValueAsDouble in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readValueAsBoolean

public boolean readValueAsBoolean()
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Obtains array or property value as boolean. Advances to the next token. If property value cannot be coerced to boolean, returns E_FAIL.

Specified by:
readValueAsBoolean in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readValueAsDate

public java.util.Date readValueAsDate()
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
Obtains property or array value as date. Advances to the next token. If property value cannot be coerced to datetime, returns E_FAIL.

Specified by:
readValueAsDate in interface IJSONReader
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findProperty

public boolean findProperty(java.lang.String propname)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Reads current object until property name matches or object ends. Case is ignored.

Specified by:
findProperty in interface IJSONReader
Parameters:
propname - The propname (in)
Returns:
The found
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findProperties

public int findProperties(IStringArray propnames)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Reads current object until one of property names matches. Case is ignored. Return value is an index of property name that matched, otherwise -1.

Specified by:
findProperties in interface IJSONReader
Parameters:
propnames - A reference to a com.esri.arcgis.system.IStringArray (in)
Returns:
The index
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

skipUntilObjectEnds

public void skipUntilObjectEnds()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Skips the rest of the current object, including closing bracket.

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

skipUntilArrayEnds

public void skipUntilArrayEnds()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Skips the rest of the current object, including closing bracket.

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