public class XMLStream extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IXMLStream, IStream
Description 'An in-memory XML stream.' 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, IID498a5f91_65d1_4a25_ad2b_462e7df8b358, xxDummyIID, IID0000000c_0000_0000_c000_000000000046, xxDummyIID0c733a30_2a1c_11ce_ade5_00aa0044773d| Constructor and Description |
|---|
XMLStream()
Constructs a XMLStream using ArcGIS Engine.
|
XMLStream(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
XMLStream theXMLStream = (XMLStream) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(int grfCommitFlags)
commit
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
esri_clone(IStream[] ppstm)
esri_clone
|
static java.lang.String |
getClsid()
getClsid.
|
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.
|
int |
hashCode()
the hashcode for this object
|
void |
loadFromBytes(byte[] bytes)
Loads from a UTF-8 byte array.
|
void |
loadFromFile(java.lang.String filePath)
Loads from a file path.
|
void |
loadFromString(java.lang.String xML)
Loads from a string.
|
void |
lockRegion(_ULARGE_INTEGER libOffset,
_ULARGE_INTEGER cb,
int dwLockType)
lockRegion
|
void |
release()
Release this COM object reference
|
void |
remoteCopyTo(IStream pstm,
_ULARGE_INTEGER cb,
_ULARGE_INTEGER[] pcbRead,
_ULARGE_INTEGER[] pcbWritten)
remoteCopyTo
|
void |
remoteRead(byte[] pv,
int cb,
int[] pcbRead)
remoteRead
|
void |
remoteSeek(_LARGE_INTEGER dlibMove,
int dwOrigin,
_ULARGE_INTEGER[] plibNewPosition)
remoteSeek
|
void |
remoteWrite(byte[] pv,
int cb,
int[] pcbWritten)
remoteWrite
|
void |
reset()
Resets the stream to the beginning.
|
void |
revert()
revert
|
byte[] |
saveToBytes()
Saves to a UTF-8 byte array.
|
void |
saveToFile(java.lang.String filePath)
Saves to a file path.
|
java.lang.String |
saveToString()
Saves to a string.
|
void |
setSize(_ULARGE_INTEGER libNewSize)
setSize
|
void |
stat(tagSTATSTG[] pstatstg,
int grfStatFlag)
stat
|
void |
unlockRegion(_ULARGE_INTEGER libOffset,
_ULARGE_INTEGER cb,
int dwLockType)
unlockRegion
|
public XMLStream()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic XMLStream(java.lang.Object obj)
throws java.io.IOException
XMLStream theXMLStream = (XMLStream) obj;obj to XMLStream.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 void loadFromString(java.lang.String xML)
throws java.io.IOException,
AutomationException
loadFromString in interface IXMLStreamxML - The xML (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void loadFromFile(java.lang.String filePath)
throws java.io.IOException,
AutomationException
loadFromFile in interface IXMLStreamfilePath - The filePath (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void loadFromBytes(byte[] bytes)
throws java.io.IOException,
AutomationException
loadFromBytes in interface IXMLStreambytes - An unsigned byte (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String saveToString()
throws java.io.IOException,
AutomationException
saveToString in interface IXMLStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void saveToFile(java.lang.String filePath)
throws java.io.IOException,
AutomationException
saveToFile in interface IXMLStreamfilePath - The filePath (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public byte[] saveToBytes()
throws java.io.IOException,
AutomationException
saveToBytes in interface IXMLStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void reset()
throws java.io.IOException,
AutomationException
reset in interface IXMLStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void remoteSeek(_LARGE_INTEGER dlibMove, int dwOrigin, _ULARGE_INTEGER[] plibNewPosition) throws java.io.IOException, AutomationException
remoteSeek in interface IStreamdlibMove - A Structure: com.esri.arcgis.system._LARGE_INTEGER (in)dwOrigin - The dwOrigin (in)plibNewPosition - 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 void setSize(_ULARGE_INTEGER libNewSize) throws java.io.IOException, AutomationException
setSize in interface IStreamlibNewSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void remoteCopyTo(IStream pstm, _ULARGE_INTEGER cb, _ULARGE_INTEGER[] pcbRead, _ULARGE_INTEGER[] pcbWritten) throws java.io.IOException, AutomationException
remoteCopyTo in interface IStreampstm - A reference to a com.esri.arcgis.system.IStream (in)cb - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)pcbRead - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)pcbWritten - 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 void commit(int grfCommitFlags)
throws java.io.IOException,
AutomationException
commit in interface IStreamgrfCommitFlags - The grfCommitFlags (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void revert()
throws java.io.IOException,
AutomationException
revert in interface IStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void lockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, int dwLockType) throws java.io.IOException, AutomationException
lockRegion in interface IStreamlibOffset - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)cb - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)dwLockType - The dwLockType (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void unlockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, int dwLockType) throws java.io.IOException, AutomationException
unlockRegion in interface IStreamlibOffset - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)cb - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (in)dwLockType - The dwLockType (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void stat(tagSTATSTG[] pstatstg, int grfStatFlag) throws java.io.IOException, AutomationException
stat in interface IStreampstatstg - A Structure: com.esri.arcgis.system.tagSTATSTG (out: use single element array)grfStatFlag - The grfStatFlag (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void esri_clone(IStream[] ppstm) throws java.io.IOException, AutomationException
esri_clone in interface IStreamppstm - A reference to a com.esri.arcgis.system.IStream (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void remoteRead(byte[] pv,
int cb,
int[] pcbRead)
throws java.io.IOException,
AutomationException
remoteRead in interface ISequentialStreampv - An unsigned byte (out: use single element array)cb - The cb (in)pcbRead - The pcbRead (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void remoteWrite(byte[] pv,
int cb,
int[] pcbWritten)
throws java.io.IOException,
AutomationException
remoteWrite in interface ISequentialStreampv - An unsigned byte (in)cb - The cb (in)pcbWritten - The pcbWritten (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.