public interface IJSONReader
extends java.io.Serializable
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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID48105a80_e0dc_4d69_bb61_3df74cafa52c |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
int |
findProperties(IStringArray propnames)
Reads current object until one of property names matches.
|
boolean |
findProperty(java.lang.String propname)
Reads current object until property name matches or object ends.
|
int |
getCurrentTokenType()
Obtains type of current token.
|
IStream |
getStream()
Obtains underlying stream.
|
boolean |
isBoolean()
Indicates true if current token is a property value or array value of boolean type.
|
boolean |
isEndOfArray()
Indicates true if current token is ']'.
|
boolean |
isEndOfObject()
Indicates true if current token is '}'.
|
boolean |
isNull()
Indicates true if current token is a property value or array value and equals to null.
|
boolean |
isNumber()
Indicates true if current token is a property value or array value of numeric type.
|
boolean |
isStartOfArray()
Indicates true if current token is '['.
|
boolean |
isStartOfObject()
Indicates true if current token is '{'.
|
boolean |
isString()
Indicates true if current token is a property value or array value of type string.
|
void |
read()
Reads next JSON token.
|
void |
readFrom(IStream inputStream)
Specifies input stream.
|
void |
readFromString(java.lang.String text)
Specifies input as string.
|
java.lang.String |
readPropertyName()
Obtains property name.
|
java.lang.Object |
readValue()
Obtains array or property value as Variant.
|
boolean |
readValueAsBoolean()
Obtains array or property value as boolean.
|
java.util.Date |
readValueAsDate()
Obtains property or array value as date.
|
double |
readValueAsDouble()
Obtains property or array value as number.
|
int |
readValueAsLong()
Obtains property or array value as number.
|
java.lang.String |
readValueAsString()
Obtains property or array value as string.
|
void |
skipUntilArrayEnds()
Skips the rest of the current object, including closing bracket.
|
void |
skipUntilObjectEnds()
Skips the rest of the current object, including closing bracket.
|
static final int IID48105a80_e0dc_4d69_bb61_3df74cafa52c
static final int xxDummy
static final java.lang.String IID
void readFrom(IStream inputStream) throws java.io.IOException, AutomationException
inputStream
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void readFromString(java.lang.String text) throws java.io.IOException, AutomationException
text
- The text (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IStream getStream() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void read() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getCurrentTokenType() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isStartOfObject() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isEndOfObject() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isStartOfArray() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isEndOfArray() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isString() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isNumber() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isBoolean() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isNull() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.Object readValue() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String readPropertyName() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String readValueAsString() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int readValueAsLong() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double readValueAsDouble() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean readValueAsBoolean() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.util.Date readValueAsDate() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean findProperty(java.lang.String propname) throws java.io.IOException, AutomationException
propname
- The propname (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int findProperties(IStringArray propnames) throws java.io.IOException, AutomationException
propnames
- A reference to a com.esri.arcgis.system.IStringArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void skipUntilObjectEnds() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void skipUntilArrayEnds() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.