public class ApproximationXform extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IGeodataXform, IGeodataXform2, IApproximationXform, IRasterXform, ISensorXform, IGeodataXformApproximation, ITransformation, IClone, IPersistStream, IDocumentVersionSupportGEN, IXMLSerialize, IXMLVersionSupport, java.io.Externalizable
Description 'A transformation that approximates other transformations.' 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, IIDa079ee4b_9e92_40ce_b83d_6bd811e33a1c, xxDummy
IID, IID59b8596f_2c6a_4dfd_bb63_d413b4703851, xxDummy
IID5e6cf525_4e74_419b_946f_7da9bfdf815d
IID, IID45b14f29_01b8_489a_9f55_cd21ea84fd7f, xxDummy
IID, IID4fc73b78_d994_457a_90ee_a6d0015b6548, xxDummy
IID, IIDf533cf88_29bd_4d4b_88d0_050622a46c3a, xxDummy
IID, IID6f2cf924_7e00_11d0_82f4_0000f8034032, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
Constructor and Description |
---|
ApproximationXform()
Constructs a ApproximationXform using ArcGIS Engine.
|
ApproximationXform(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
ApproximationXform theApproximationXform = (ApproximationXform) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
IGeometry |
computeFootprint(int direction,
IGeometry pExtent,
int maximumVertices)
Computes the footprint in a given direction for a given input extent/footprint.
|
java.lang.Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
double |
getConstantZ()
The constant Z value in meters.
|
IRaster |
getDEM()
The Digital Elevation Model (DEM).
|
IGeometryCollection |
getDomains()
The domains in output space.
|
IEnvelope |
getFullExtent()
The full output extent within which this xform is applied.
|
IGeodataXform |
getGeodataXform()
The geodataxform to be approximated.
|
int |
getGridSize()
The approximation grid size in pixels in output space.
|
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
|
ISpatialReference |
getSpatialReference()
The output spatial reference after applying this transform.
|
double |
getTolerance()
The approximation error tolerance in distance in input space.
|
double |
getZ(double x,
double y)
Gets Z value for a given location (x,y) in map space.
|
double |
getZFactor()
The conversion factor from DEM Z unit to meters.
|
double |
getZOffset()
The Z offset in meters applied to DEM.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isApproximation()
Indicates if approximation is on or off.
|
boolean |
isCorrectGeoid()
Indicates if Geoid correction is needed.
|
void |
isDirty()
isDirty
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
boolean |
isIdentity()
Indicates if this geodata transform is an identity transform.
|
boolean |
isRecalculateTolerance()
Indicates if the tolerance can be recalculated based on input cellsize.
|
boolean |
isRequireDEM()
Indicates if DEM is required for applying this transform.
|
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version.
|
void |
load(IStream pstm)
load
|
void |
prepare(int iDomain,
double dx,
double dy,
IEnvelope pExtent)
Prepares the xform for a given extent and cellsize within a domain.
|
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 |
setApproximation(boolean pApproximation)
Indicates if approximation is on or off.
|
void |
setConstantZ(double z)
The constant Z value in meters.
|
void |
setCorrectGeoid(boolean pCorrection)
Indicates if Geoid correction is needed.
|
void |
setDEMByRef(IRaster ppDEM)
The Digital Elevation Model (DEM).
|
void |
setFullExtent(IEnvelope ppFullExtent)
The full output extent within which this xform is applied.
|
void |
setGeodataXformByRef(IGeodataXform ppXform)
The geodataxform to be approximated.
|
void |
setGridSize(int pSize)
The approximation grid size in pixels in output space.
|
void |
setRecalculateTolerance(boolean pRecalculateTolerance)
Indicates if the tolerance can be recalculated based on input cellsize.
|
void |
setRequireDEM(boolean pRequireDEM)
Indicates if DEM is required for applying this transform.
|
void |
setSpatialReferenceByRef(ISpatialReference spatialRefence)
The output spatial reference after applying this transform.
|
void |
setTolerance(double pTolerance)
The approximation error tolerance in distance in input space.
|
void |
setZFactor(double zFactor)
The conversion factor from DEM Z unit to meters.
|
void |
setZOffset(double zOffset)
The Z offset in meters applied to DEM.
|
IGeodataXform |
simplify()
Simplifies into a simple geodataxform.
|
void |
transform(int direction,
int npoints,
_WKSPoint[] points)
Transforms a set of points in a given direction.
|
void |
transform3D(int direction,
int npoints,
_WKSPointZ[] points)
Transforms a set of 3D points in a given direction.
|
void |
transform3DPoints(int direction,
IPointCollection[] pPoints)
Transforms a collection of 3D points in a given direction
|
void |
transformCellsize(int direction,
double[] dx,
double[] dy,
IEnvelope areaOfInterest)
Transforms a cellsize in a given direction.
|
void |
transformExtent(int direction,
IEnvelope[] extent)
Transforms an extent in a given direction.
|
void |
transformMeasuresFF(int direction,
int cMeasures,
double[] inMeasures,
double[] outMeasures)
Transforms floating point measures to floating point measures (or do the inverse).
|
void |
transformMeasuresFI(int direction,
int cMeasures,
double[] inMeasures,
int[] outMeasures)
Transforms floating point measures to integer measures (or do the inverse).
|
void |
transformMeasuresIF(int direction,
int cMeasures,
int[] inMeasures,
double[] outMeasures)
Transforms integer measures to floating point measures (or do the inverse).
|
void |
transformMeasuresII(int direction,
int cMeasures,
int[] inMeasures,
int[] outMeasures)
Transforms integer measures to integer measures (or do the inverse).
|
void |
transformPoints(int direction,
IPointCollection[] points)
Transforms a point collection in a given direction
|
void |
transformPointsFF(int direction,
int cPoints,
double[] inPoints,
double[] outPoints)
Transforms floating point points to floating point points (or do the inverse).
|
void |
transformPointsFI(int direction,
int cPoints,
double[] inPoints,
int[] outPoints)
Transforms floating point points to integer points (or do the inverse).
|
void |
transformPointsIF(int direction,
int cPoints,
int[] inPoints,
double[] outPoints)
Transforms integer points to floating point points (or do the inverse).
|
void |
transformPointsII(int direction,
int cPoints,
int[] inPoints,
int[] outPoints)
Transforms integer points to integer points (or do the inverse).
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public ApproximationXform() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic ApproximationXform(java.lang.Object obj) throws java.io.IOException
ApproximationXform theApproximationXform = (ApproximationXform) obj;
obj
to ApproximationXform
.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 ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
getSpatialReference
in interface IGeodataXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference spatialRefence) throws java.io.IOException, AutomationException
setSpatialReferenceByRef
in interface IGeodataXform
spatialRefence
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometryCollection getDomains() throws java.io.IOException, AutomationException
getDomains
in interface IGeodataXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentity() throws java.io.IOException, AutomationException
isIdentity
in interface IGeodataXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transform(int direction, int npoints, _WKSPoint[] points) throws java.io.IOException, AutomationException
transform
in interface IGeodataXform
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)npoints
- The npoints (in)points
- A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformCellsize(int direction, double[] dx, double[] dy, IEnvelope areaOfInterest) throws java.io.IOException, AutomationException
transformCellsize
in interface IGeodataXform
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)dx
- The dx (in/out: use single element array)dy
- The dy (in/out: use single element array)areaOfInterest
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformExtent(int direction, IEnvelope[] extent) throws java.io.IOException, AutomationException
transformExtent
in interface IGeodataXform
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPoints(int direction, IPointCollection[] points) throws java.io.IOException, AutomationException
transformPoints
in interface IGeodataXform
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)points
- A reference to a com.esri.arcgis.geometry.IPointCollection (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transform3D(int direction, int npoints, _WKSPointZ[] points) throws java.io.IOException, AutomationException
transform3D
in interface IGeodataXform2
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)npoints
- The npoints (in)points
- A Structure: com.esri.arcgis.system._WKSPointZ (A com.esri.arcgis.system._WKSPointZ COM typedef) (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transform3DPoints(int direction, IPointCollection[] pPoints) throws java.io.IOException, AutomationException
transform3DPoints
in interface IGeodataXform2
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)pPoints
- A reference to a com.esri.arcgis.geometry.IPointCollection (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeometry computeFootprint(int direction, IGeometry pExtent, int maximumVertices) throws java.io.IOException, AutomationException
computeFootprint
in interface IGeodataXform2
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)pExtent
- A reference to a com.esri.arcgis.geometry.IGeometry (in)maximumVertices
- The maximumVertices (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getZ(double x, double y) throws java.io.IOException, AutomationException
getZ
in interface IGeodataXform2
x
- The x (in)y
- The y (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeodataXform simplify() throws java.io.IOException, AutomationException
simplify
in interface IGeodataXform2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGeodataXformByRef(IGeodataXform ppXform) throws java.io.IOException, AutomationException
setGeodataXformByRef
in interface IApproximationXform
ppXform
- A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IGeodataXform getGeodataXform() throws java.io.IOException, AutomationException
getGeodataXform
in interface IApproximationXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnvelope getFullExtent() throws java.io.IOException, AutomationException
getFullExtent
in interface IRasterXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFullExtent(IEnvelope ppFullExtent) throws java.io.IOException, AutomationException
setFullExtent
in interface IRasterXform
ppFullExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void prepare(int iDomain, double dx, double dy, IEnvelope pExtent) throws java.io.IOException, AutomationException
prepare
in interface IRasterXform
iDomain
- The iDomain (in)dx
- The dx (in)dy
- The dy (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getConstantZ() throws java.io.IOException, AutomationException
getConstantZ
in interface ISensorXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setConstantZ(double z) throws java.io.IOException, AutomationException
setConstantZ
in interface ISensorXform
z
- The z (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getZFactor() throws java.io.IOException, AutomationException
getZFactor
in interface ISensorXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setZFactor(double zFactor) throws java.io.IOException, AutomationException
setZFactor
in interface ISensorXform
zFactor
- The zFactor (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getZOffset() throws java.io.IOException, AutomationException
getZOffset
in interface ISensorXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setZOffset(double zOffset) throws java.io.IOException, AutomationException
setZOffset
in interface ISensorXform
zOffset
- The zOffset (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRaster getDEM() throws java.io.IOException, AutomationException
getDEM
in interface ISensorXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDEMByRef(IRaster ppDEM) throws java.io.IOException, AutomationException
setDEMByRef
in interface ISensorXform
ppDEM
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isRequireDEM() throws java.io.IOException, AutomationException
isRequireDEM
in interface ISensorXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRequireDEM(boolean pRequireDEM) throws java.io.IOException, AutomationException
setRequireDEM
in interface ISensorXform
pRequireDEM
- The pRequireDEM (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isCorrectGeoid() throws java.io.IOException, AutomationException
isCorrectGeoid
in interface ISensorXform
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCorrectGeoid(boolean pCorrection) throws java.io.IOException, AutomationException
setCorrectGeoid
in interface ISensorXform
pCorrection
- The pCorrection (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTolerance(double pTolerance) throws java.io.IOException, AutomationException
setTolerance
in interface IGeodataXformApproximation
pTolerance
- The pTolerance (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getTolerance() throws java.io.IOException, AutomationException
getTolerance
in interface IGeodataXformApproximation
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setGridSize(int pSize) throws java.io.IOException, AutomationException
setGridSize
in interface IGeodataXformApproximation
pSize
- The pSize (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getGridSize() throws java.io.IOException, AutomationException
getGridSize
in interface IGeodataXformApproximation
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRecalculateTolerance(boolean pRecalculateTolerance) throws java.io.IOException, AutomationException
setRecalculateTolerance
in interface IGeodataXformApproximation
pRecalculateTolerance
- The pRecalculateTolerance (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isRecalculateTolerance() throws java.io.IOException, AutomationException
isRecalculateTolerance
in interface IGeodataXformApproximation
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isApproximation() throws java.io.IOException, AutomationException
isApproximation
in interface IGeodataXformApproximation
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setApproximation(boolean pApproximation) throws java.io.IOException, AutomationException
setApproximation
in interface IGeodataXformApproximation
pApproximation
- The pApproximation (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresFF(int direction, int cMeasures, double[] inMeasures, double[] outMeasures) throws java.io.IOException, AutomationException
transformMeasuresFF
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cMeasures
- The cMeasures (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresFI(int direction, int cMeasures, double[] inMeasures, int[] outMeasures) throws java.io.IOException, AutomationException
transformMeasuresFI
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cMeasures
- The cMeasures (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresIF(int direction, int cMeasures, int[] inMeasures, double[] outMeasures) throws java.io.IOException, AutomationException
transformMeasuresIF
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cMeasures
- The cMeasures (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformMeasuresII(int direction, int cMeasures, int[] inMeasures, int[] outMeasures) throws java.io.IOException, AutomationException
transformMeasuresII
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cMeasures
- The cMeasures (in)inMeasures
- The inMeasures (in)outMeasures
- The outMeasures (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPointsFF(int direction, int cPoints, double[] inPoints, double[] outPoints) throws java.io.IOException, AutomationException
transformPointsFF
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cPoints
- The cPoints (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPointsFI(int direction, int cPoints, double[] inPoints, int[] outPoints) throws java.io.IOException, AutomationException
transformPointsFI
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cPoints
- The cPoints (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPointsIF(int direction, int cPoints, int[] inPoints, double[] outPoints) throws java.io.IOException, AutomationException
transformPointsIF
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cPoints
- The cPoints (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformPointsII(int direction, int cPoints, int[] inPoints, int[] outPoints) throws java.io.IOException, AutomationException
transformPointsII
in interface ITransformation
direction
- A com.esri.arcgis.geometry.esriTransformDirection constant (in)cPoints
- The cPoints (in)inPoints
- The inPoints (in)outPoints
- The outPoints (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)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 IPersistStream
java.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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- 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 boolean isSupportedAtVersion(int docVersion) throws java.io.IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object convertToSupportedObject(int docVersion) throws java.io.IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion 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 IXMLSerialize
data
- 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 IXMLSerialize
data
- 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 java.lang.String getMinNamespaceSupported() throws java.io.IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
java.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.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException