public interface IJSONWriter
extends java.io.Serializable
Description: 'Provides access to members that control the sequential writing of JSON.' 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 |
IID408cd30c_b7a6_4793_a07c_4181035c66e7 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
endArray()
Ends an array.
|
void |
endObject()
Ends writing of an object.
|
IStream |
getStream()
Obtains underlying stream.
|
byte[] |
getStringBuffer()
Obtains copy of string buffer.
|
void |
setFormatted(boolean value)
Writes 'pretty' formatting on or off.
|
void |
setIndent(int value)
Writes indent for 'pretty' formatting.
|
void |
startArray(java.lang.String name)
Starts an array.
|
void |
startObject(java.lang.String name)
Starts writing an object.
|
void |
writeBinary(java.lang.String name,
byte[] value)
Writes a byte array.
|
void |
writeBinaryVal(byte[] value)
Writes a byte array.
|
void |
writeBoolean(java.lang.String name,
boolean value)
Writes a boolean.
|
void |
writeBooleanVal(boolean value)
Writes a boolean in array.
|
void |
writeByte(java.lang.String name,
byte value)
Writes a byte.
|
void |
writeByteVal(byte value)
Writes a byte in array.
|
void |
writeDate(java.lang.String name,
java.util.Date value,
boolean asString)
Writes a date.
|
void |
writeDateVal(java.util.Date value,
boolean asString)
Writes a date in array.
|
void |
writeDouble(java.lang.String name,
double value)
Writes a double.
|
void |
writeDoubleVal(double value)
Writes a double in array.
|
void |
writeFloat(java.lang.String name,
float value)
Writes a float.
|
void |
writeFloatVal(float value)
Writes a float in array.
|
void |
writeInteger(java.lang.String name,
int value)
Writes an integer.
|
void |
writeIntegerVal(int value)
Writes an integer in array.
|
void |
writeNull(java.lang.String name)
Writes null property.
|
void |
writeNullVal()
Writes null value in array.
|
void |
writeShort(java.lang.String name,
short value)
Writes a short.
|
void |
writeShortVal(short value)
Writes a short int in array.
|
void |
writeString(java.lang.String name,
java.lang.String value)
Writes a string property.
|
void |
writeStringVal(java.lang.String value)
Writes a string in array.
|
void |
writeTo(IStream outputStream)
Specifies output JSON stream.
|
void |
writeToString()
Redirects writing to internal string buffer.
|
void |
writeVariant(java.lang.String name,
java.lang.Object value)
Writes a variant valued property.
|
void |
writeVariantVal(java.lang.Object value)
Writes a variant in array.
|
static final int IID408cd30c_b7a6_4793_a07c_4181035c66e7
static final int xxDummy
static final java.lang.String IID
void writeTo(IStream outputStream) throws java.io.IOException, AutomationException
outputStream
- 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 writeToString() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.byte[] getStringBuffer() throws java.io.IOException, AutomationException
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 setFormatted(boolean value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setIndent(int value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void startObject(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void endObject() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void startArray(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void endArray() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeVariant(java.lang.String name, java.lang.Object value) throws java.io.IOException, AutomationException
name
- The name (in)value
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeString(java.lang.String name, java.lang.String value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeBoolean(java.lang.String name, boolean value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeByte(java.lang.String name, byte value) throws java.io.IOException, AutomationException
name
- The name (in)value
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeShort(java.lang.String name, short value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeInteger(java.lang.String name, int value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeFloat(java.lang.String name, float value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeDouble(java.lang.String name, double value) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeDate(java.lang.String name, java.util.Date value, boolean asString) throws java.io.IOException, AutomationException
name
- The name (in)value
- The value (in)asString
- The asString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeBinary(java.lang.String name, byte[] value) throws java.io.IOException, AutomationException
name
- The name (in)value
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeNull(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeVariantVal(java.lang.Object value) throws java.io.IOException, AutomationException
value
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeStringVal(java.lang.String value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeBooleanVal(boolean value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeByteVal(byte value) throws java.io.IOException, AutomationException
value
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeShortVal(short value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeIntegerVal(int value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeFloatVal(float value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeDoubleVal(double value) throws java.io.IOException, AutomationException
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeDateVal(java.util.Date value, boolean asString) throws java.io.IOException, AutomationException
value
- The value (in)asString
- The asString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeBinaryVal(byte[] value) throws java.io.IOException, AutomationException
value
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void writeNullVal() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.