public class AttachmentData extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IAttachmentData, IXMLSerialize, IPersist, IPersistStream, IXMLVersionSupport, java.io.Externalizable
Description 'Esri AttachmentData object.' 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 long |
serialVersionUID |
IID, IID289e0bc8_26f4_4391_8a4b_87d6e133dff4, xxDummyIID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummyIID, IID00000109_0000_0000_c000_000000000046, xxDummyIID0000010c_0000_0000_c000_000000000046IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy| Constructor and Description |
|---|
AttachmentData()
Constructs a AttachmentData using ArcGIS Engine.
|
AttachmentData(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AttachmentData theAttachmentData = (AttachmentData) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IAttachmentInfo |
getAttachmentInfo()
Content type that indicates the type of the mime content.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
byte[] |
getData()
Attachment as bytes.
|
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.
|
java.lang.String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace).
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
getTransportType()
Transport Type.
|
java.lang.String |
getURL()
URL.
|
int |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setAttachmentInfoByRef(IAttachmentInfo attachmentInfo)
Content type that indicates the type of the mime content.
|
void |
setData(byte[] data)
Attachment as bytes.
|
void |
setTransportType(int transportType)
Transport Type.
|
void |
setURL(java.lang.String uRL)
URL.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public AttachmentData()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic AttachmentData(java.lang.Object obj)
throws java.io.IOException
AttachmentData theAttachmentData = (AttachmentData) obj;obj to AttachmentData.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic byte[] getData()
throws java.io.IOException,
AutomationException
getData in interface IAttachmentDatajava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setData(byte[] data)
throws java.io.IOException,
AutomationException
setData in interface IAttachmentDatadata - An unsigned byte (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IAttachmentInfo getAttachmentInfo() throws java.io.IOException, AutomationException
getAttachmentInfo in interface IAttachmentDatajava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setAttachmentInfoByRef(IAttachmentInfo attachmentInfo) throws java.io.IOException, AutomationException
setAttachmentInfoByRef in interface IAttachmentDataattachmentInfo - A reference to a com.esri.arcgis.geodatabase.IAttachmentInfo (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getURL()
throws java.io.IOException,
AutomationException
getURL in interface IAttachmentDatajava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setURL(java.lang.String uRL)
throws java.io.IOException,
AutomationException
setURL in interface IAttachmentDatauRL - The uRL (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getTransportType()
throws java.io.IOException,
AutomationException
getTransportType in interface IAttachmentDatajava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setTransportType(int transportType)
throws java.io.IOException,
AutomationException
setTransportType in interface IAttachmentDatatransportType - A com.esri.arcgis.system.esriTransportType constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load in interface IPersistStreampstm - 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 void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getMinNamespaceSupported()
throws java.io.IOException,
AutomationException
getMinNamespaceSupported in interface IXMLVersionSupportjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException