public class AMFWriter extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAMFWriter, ISupportErrorInfo
Description 'A sequential AMF Writer.' 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 =
IID, IID3eb8c519_d125_48d4_aeb6_608074316ad4, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
Constructor and Description |
---|
AMFWriter()
Constructs a AMFWriter using ArcGIS Engine.
|
AMFWriter(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AMFWriter theAMFWriter = (AMFWriter) obj; |
Modifier and Type | Method and Description |
---|---|
void |
endAMF3Array()
Finishes writing an array.
|
void |
endAMF3Object()
Finishes writing object.
|
void |
endAMF3ObjectTraits()
Call this method to finish writing object traits and switch to writing members.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
void |
getCopy(IAMFWriter[] ppOutWriter)
Clones IAMFWriter.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
IStream |
getStream()
Obtains underlying stream.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
void |
release()
Release this COM object reference
|
void |
startAMF3Array(int denseCount,
int[] obj_ref)
Starts writing of array.
|
void |
startAMF3CustomObject(java.lang.String classname,
int[] obj_ref)
Starst writing a custom object.
|
void |
startAMF3Object(int traits_ref,
int[] obj_ref)
Starts writing an object, sends traits by reference.
|
void |
startAMF3ObjectWithTraits(java.lang.String classname,
int memberCount,
boolean dynamic,
int[] traits_ref,
int[] obj_ref)
Start writing an object with traits.
|
void |
writeAMF3_UTF8(java.lang.String value,
int[] string_ref)
This method is required if you want to write member names in traits.
|
void |
writeAMF3_UTF8Ref(int string_ref)
This method is required if you want to write member names in traits by reference.
|
void |
writeAMF3ArrayDenseMarker()
Switches from writing of associative portion of an array to dense portion.
|
void |
writeAMF3ArrayRef(int obj_ref)
Writes an array by reference.
|
void |
writeAMF3Bool(boolean value)
Writes boolean value.
|
void |
writeAMF3ByteArray(byte[] ppArray,
int[] obj_ref)
Writes byte array.
|
void |
writeAMF3ByteArrayRef(int obj_ref)
Writes byte array by reference.
|
void |
writeAMF3Date(java.util.Date value,
boolean asJsonNumber,
int[] obj_ref)
Writes date.
|
void |
writeAMF3DateRef(int obj_ref)
Writes date by reference.
|
void |
writeAMF3Double(double value)
Writes double (64-bit) value.
|
void |
writeAMF3Int(int value)
Writes integer (32-bit) value.
|
void |
writeAMF3Null()
Writes null value.
|
void |
writeAMF3ObjectRef(int obj_ref)
Writes object by reference.
|
void |
writeAMF3String(java.lang.String value,
int[] string_ref)
Writes string value.
|
void |
writeAMF3StringRef(int string_ref)
Writes string value by reference.
|
void |
writeAMF3Undefined()
Writes undefined value.
|
void |
writeAMF3Variant(java.lang.Object value,
int[] value_ref)
Writes value types (excluding array and object), may return string or object reference index.
|
void |
writeAMF3Xml(java.lang.String value,
int[] obj_ref)
Writes XML.
|
void |
writeAMF3XmlDoc(java.lang.String value,
int[] obj_ref)
Writes XML document.
|
void |
writeAMF3XmlDocRef(int obj_ref)
Writes XML document by reference.
|
void |
writeAMF3XmlRef(int obj_ref)
Writes XML by reference.
|
void |
writeTo(IStream outputStream)
Specifies output AMF stream.
|
void |
writeU16(short b)
Writes short integer.
|
void |
writeU32(int b)
Writes an integer.
|
void |
writeU8(byte b)
Writes a byte.
|
void |
writeUTF8(java.lang.String value)
This method is used to write AMF0 strings.
|
public AMFWriter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic AMFWriter(java.lang.Object obj) throws java.io.IOException
AMFWriter theAMFWriter = (AMFWriter) obj;
obj
to AMFWriter
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void writeTo(IStream outputStream) throws java.io.IOException, AutomationException
writeTo
in interface IAMFWriter
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.public IStream getStream() throws java.io.IOException, AutomationException
getStream
in interface IAMFWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3Undefined() throws java.io.IOException, AutomationException
writeAMF3Undefined
in interface IAMFWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3Null() throws java.io.IOException, AutomationException
writeAMF3Null
in interface IAMFWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3Bool(boolean value) throws java.io.IOException, AutomationException
writeAMF3Bool
in interface IAMFWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3Int(int value) throws java.io.IOException, AutomationException
writeAMF3Int
in interface IAMFWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3Double(double value) throws java.io.IOException, AutomationException
writeAMF3Double
in interface IAMFWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3String(java.lang.String value, int[] string_ref) throws java.io.IOException, AutomationException
writeAMF3String
in interface IAMFWriter
value
- The value (in)string_ref
- The string_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3StringRef(int string_ref) throws java.io.IOException, AutomationException
writeAMF3StringRef
in interface IAMFWriter
string_ref
- The string_ref (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3XmlDoc(java.lang.String value, int[] obj_ref) throws java.io.IOException, AutomationException
writeAMF3XmlDoc
in interface IAMFWriter
value
- The value (in)obj_ref
- The obj_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3XmlDocRef(int obj_ref) throws java.io.IOException, AutomationException
writeAMF3XmlDocRef
in interface IAMFWriter
obj_ref
- The obj_ref (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3Xml(java.lang.String value, int[] obj_ref) throws java.io.IOException, AutomationException
writeAMF3Xml
in interface IAMFWriter
value
- The value (in)obj_ref
- The obj_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3XmlRef(int obj_ref) throws java.io.IOException, AutomationException
writeAMF3XmlRef
in interface IAMFWriter
obj_ref
- The obj_ref (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3Date(java.util.Date value, boolean asJsonNumber, int[] obj_ref) throws java.io.IOException, AutomationException
writeAMF3Date
in interface IAMFWriter
value
- The value (in)asJsonNumber
- The asJsonNumber (in)obj_ref
- The obj_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3DateRef(int obj_ref) throws java.io.IOException, AutomationException
writeAMF3DateRef
in interface IAMFWriter
obj_ref
- The obj_ref (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3ByteArray(byte[] ppArray, int[] obj_ref) throws java.io.IOException, AutomationException
writeAMF3ByteArray
in interface IAMFWriter
ppArray
- An unsigned byte (in)obj_ref
- The obj_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3ByteArrayRef(int obj_ref) throws java.io.IOException, AutomationException
writeAMF3ByteArrayRef
in interface IAMFWriter
obj_ref
- The obj_ref (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3Variant(java.lang.Object value, int[] value_ref) throws java.io.IOException, AutomationException
writeAMF3Variant
in interface IAMFWriter
value
- A Variant (in)value_ref
- The value_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void startAMF3Array(int denseCount, int[] obj_ref) throws java.io.IOException, AutomationException
startAMF3Array
in interface IAMFWriter
denseCount
- The denseCount (in)obj_ref
- The obj_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3ArrayDenseMarker() throws java.io.IOException, AutomationException
writeAMF3ArrayDenseMarker
in interface IAMFWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void endAMF3Array() throws java.io.IOException, AutomationException
endAMF3Array
in interface IAMFWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3ArrayRef(int obj_ref) throws java.io.IOException, AutomationException
writeAMF3ArrayRef
in interface IAMFWriter
obj_ref
- The obj_ref (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void startAMF3CustomObject(java.lang.String classname, int[] obj_ref) throws java.io.IOException, AutomationException
startAMF3CustomObject
in interface IAMFWriter
classname
- The classname (in)obj_ref
- The obj_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void startAMF3Object(int traits_ref, int[] obj_ref) throws java.io.IOException, AutomationException
startAMF3Object
in interface IAMFWriter
traits_ref
- The traits_ref (in)obj_ref
- The obj_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void startAMF3ObjectWithTraits(java.lang.String classname, int memberCount, boolean dynamic, int[] traits_ref, int[] obj_ref) throws java.io.IOException, AutomationException
startAMF3ObjectWithTraits
in interface IAMFWriter
classname
- The classname (in)memberCount
- The memberCount (in)dynamic
- The dynamic (in)traits_ref
- The traits_ref (out: use single element array)obj_ref
- The obj_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void endAMF3ObjectTraits() throws java.io.IOException, AutomationException
endAMF3ObjectTraits
in interface IAMFWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void endAMF3Object() throws java.io.IOException, AutomationException
endAMF3Object
in interface IAMFWriter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3ObjectRef(int obj_ref) throws java.io.IOException, AutomationException
writeAMF3ObjectRef
in interface IAMFWriter
obj_ref
- The obj_ref (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3_UTF8(java.lang.String value, int[] string_ref) throws java.io.IOException, AutomationException
writeAMF3_UTF8
in interface IAMFWriter
value
- The value (in)string_ref
- The string_ref (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeAMF3_UTF8Ref(int string_ref) throws java.io.IOException, AutomationException
writeAMF3_UTF8Ref
in interface IAMFWriter
string_ref
- The string_ref (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeU8(byte b) throws java.io.IOException, AutomationException
writeU8
in interface IAMFWriter
b
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeU16(short b) throws java.io.IOException, AutomationException
writeU16
in interface IAMFWriter
b
- The b (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeU32(int b) throws java.io.IOException, AutomationException
writeU32
in interface IAMFWriter
b
- The b (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeUTF8(java.lang.String value) throws java.io.IOException, AutomationException
writeUTF8
in interface IAMFWriter
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getCopy(IAMFWriter[] ppOutWriter) throws java.io.IOException, AutomationException
getCopy
in interface IAMFWriter
ppOutWriter
- A reference to a com.esri.arcgis.system.IAMFWriter (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.