Description: 'Provides access to members for a MapService.' 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 =
public class IMapServerProxy extends com.esri.arcgis.interop.Dispatch implements IMapServer, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
noncastable
Deprecated.
|
static java.lang.Class |
targetClass
Deprecated.
|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
IID, IIDc1ee7009_1027_4f5a_89ae_0e2cec6fcef4
Modifier | Constructor and Description |
---|---|
|
IMapServerProxy()
Deprecated.
For internal use only
|
|
IMapServerProxy(java.lang.Object obj)
Deprecated.
|
protected |
IMapServerProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated.
|
|
IMapServerProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
protected |
IMapServerProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated.
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
double |
computeDistance(java.lang.String mapName,
IPoint fromPoint,
IPoint toPoint,
int units)
Deprecated.
Computes the distance between two points on the specified map.
|
double |
computeScale(IMapDescription mapDesc,
IImageDisplay mapDisplay)
Deprecated.
Computes the scale of the specified map, at the given map extent, for an image with the given size.
|
IMapImage |
exportMapImage(IMapDescription mapDesc,
IImageDescription imageDesc)
Deprecated.
Generates an image of the map, based on the given map description, and writes the image to a specified file on disk.
|
IMapServerFindResults |
find(IMapDescription mapDesc,
IImageDisplay mapImage,
java.lang.String searchString,
boolean contains,
java.lang.String searchFields,
int option,
ILongArray layerIDs)
Deprecated.
Returns a collection of Map Server Find Result objects that contain the given search string.
|
void |
fromMapPoints(IMapDescription mapDescription,
IImageDisplay mapDisplay,
IPointCollection mapPoints,
ILongArray[] screenXValues,
ILongArray[] screenYValues)
Deprecated.
Converts a map coordinate to a screen location.
|
java.lang.String |
getDefaultMapName()
Deprecated.
Name of the document's active map (data frame).
|
IPropertySet |
getDocumentInfo()
Deprecated.
A set of name-value pairs for properties set for the map document (mxd only).
|
java.lang.String |
getFilePath()
Deprecated.
The map document path.
|
IMapServerLegendInfos |
getLegendInfo(IMapDescription pMapDescription,
IImageDisplay pImageDisplay,
ILongArray layerIDs,
IMapServerLegendPatch patch,
IImageType imgType)
Deprecated.
Returns a collection of Map Server Legend Info objects for the specified layers.
|
int |
getMapCount()
Deprecated.
The number of maps (data frames) in the document.
|
java.lang.String |
getMapName(int index)
Deprecated.
Name of the map (data frame) as indicated by the index.
|
java.lang.String |
getPhysicalCacheDirectory()
Deprecated.
The physical directory for cache files.
|
java.lang.String |
getPhysicalOutputDirectory()
Deprecated.
The physical directory for output files.
|
IMapServerInfo |
getServerInfo(java.lang.String mapName)
Deprecated.
Returns information about a map (data frame).
|
ISQLSyntaxInfo |
getSQLSyntaxInfo(java.lang.String mapName,
int layerID)
Deprecated.
Returns the SQL syntax information for the specified layer.
|
int |
getSupportedImageReturnTypes()
Deprecated.
The supported image return types for the map server.
|
IMapServerIdentifyResults |
identify(IMapDescription mapDesc,
IImageDisplay mapImage,
IGeometry searchShape,
int tolerance,
int option,
ILongArray layerIDs)
Deprecated.
Returns a collection of Map Server Identify Result objects at the given location.
|
IQueryResult |
queryData(java.lang.String mapName,
IMapTableDescription pMapTableDescription,
IQueryFilter filter,
IQueryResultOptions options)
Deprecated.
Returns a record set of rows that meet the query filter selection criteria for the specified table.
|
IRecordSet |
queryDataStatistics(java.lang.String mapName,
IMapTableDescription pTableDescription,
IStatisticsRequest pRequest,
IQueryFilter pQueryFilter)
Deprecated.
Calculates aggregate statistics for one or more fields on a table or layer.
|
IImageResults |
queryRasterValue(java.lang.String mapName,
IMapTableDescription pTableDescription,
ILongArray rowIDs,
java.lang.String fieldName,
IImageType rasterValueType)
Deprecated.
Returns the Raster content that meet the selection criteria for the specified dynamic layer.
|
IQueryResult |
queryRelatedRecords(java.lang.String mapName,
IMapTableDescription pTableDescription,
IFIDSet pFIDs,
IRelateDescription relateDescription)
Deprecated.
Returns the IDs of the rows that meet the query filter selection criteria for the specified dynamic layer.
|
int |
queryRowCount(java.lang.String mapName,
IMapTableDescription pTableDescription,
IQueryFilter pFilter)
Deprecated.
Returns the count of the rows that meet the query filter selection criteria for the specified table.
|
ILongArray |
queryRowIDs(java.lang.String mapName,
IMapTableDescription pTableDescription,
IQueryFilter pFilter)
Deprecated.
Returns the IDs of the rows that meet the query filter selection criteria for the specified table.
|
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated.
Removes a Java object as a listener to events generated by a COM object.
|
IPointCollection |
toMapPoints(IMapDescription mapDescription,
IImageDisplay mapDisplay,
ILongArray screenXValues,
ILongArray screenYValues)
Deprecated.
Converts a screen location to a map coordinate.
|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
public static final java.lang.Class targetClass
public boolean noncastable
public IMapServerProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IMapServerProxy()
public IMapServerProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IMapServerProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IMapServerProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object to be informed of the eventstheSource
- the proxy class that represents the COM class that is the source of the eventsjava.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public IPropertySet getDocumentInfo() throws java.io.IOException, AutomationException
getDocumentInfo
in interface IMapServer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getMapCount() throws java.io.IOException, AutomationException
getMapCount
in interface IMapServer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMapName(int index) throws java.io.IOException, AutomationException
getMapName
in interface IMapServer
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDefaultMapName() throws java.io.IOException, AutomationException
getDefaultMapName
in interface IMapServer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IMapServerInfo getServerInfo(java.lang.String mapName) throws java.io.IOException, AutomationException
getServerInfo
in interface IMapServer
mapName
- The mapName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IMapImage exportMapImage(IMapDescription mapDesc, IImageDescription imageDesc) throws java.io.IOException, AutomationException
exportMapImage
in interface IMapServer
mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)imageDesc
- A reference to a com.esri.arcgis.carto.IImageDescription (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IMapServerFindResults find(IMapDescription mapDesc, IImageDisplay mapImage, java.lang.String searchString, boolean contains, java.lang.String searchFields, int option, ILongArray layerIDs) throws java.io.IOException, AutomationException
find
in interface IMapServer
mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapImage
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)searchString
- The searchString (in)contains
- The contains (in)searchFields
- The searchFields (in)option
- A com.esri.arcgis.carto.esriFindOption constant (in)layerIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IMapServerIdentifyResults identify(IMapDescription mapDesc, IImageDisplay mapImage, IGeometry searchShape, int tolerance, int option, ILongArray layerIDs) throws java.io.IOException, AutomationException
identify
in interface IMapServer
mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapImage
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)searchShape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)tolerance
- The tolerance (in)option
- A com.esri.arcgis.carto.esriIdentifyOption constant (in)layerIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double computeScale(IMapDescription mapDesc, IImageDisplay mapDisplay) throws java.io.IOException, AutomationException
computeScale
in interface IMapServer
mapDesc
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double computeDistance(java.lang.String mapName, IPoint fromPoint, IPoint toPoint, int units) throws java.io.IOException, AutomationException
computeDistance
in interface IMapServer
mapName
- The mapName (in)fromPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)toPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)units
- A com.esri.arcgis.system.esriUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPointCollection toMapPoints(IMapDescription mapDescription, IImageDisplay mapDisplay, ILongArray screenXValues, ILongArray screenYValues) throws java.io.IOException, AutomationException
toMapPoints
in interface IMapServer
mapDescription
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)screenXValues
- A reference to a com.esri.arcgis.system.ILongArray (in)screenYValues
- A reference to a com.esri.arcgis.system.ILongArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void fromMapPoints(IMapDescription mapDescription, IImageDisplay mapDisplay, IPointCollection mapPoints, ILongArray[] screenXValues, ILongArray[] screenYValues) throws java.io.IOException, AutomationException
fromMapPoints
in interface IMapServer
mapDescription
- A reference to a com.esri.arcgis.carto.IMapDescription (in)mapDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)mapPoints
- A reference to a com.esri.arcgis.geometry.IPointCollection (in)screenXValues
- A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)screenYValues
- A reference to a com.esri.arcgis.system.ILongArray (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IMapServerLegendInfos getLegendInfo(IMapDescription pMapDescription, IImageDisplay pImageDisplay, ILongArray layerIDs, IMapServerLegendPatch patch, IImageType imgType) throws java.io.IOException, AutomationException
getLegendInfo
in interface IMapServer
pMapDescription
- A reference to a com.esri.arcgis.carto.IMapDescription (in)pImageDisplay
- A reference to a com.esri.arcgis.carto.IImageDisplay (in)layerIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)patch
- A reference to a com.esri.arcgis.carto.IMapServerLegendPatch (in)imgType
- A reference to a com.esri.arcgis.carto.IImageType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ISQLSyntaxInfo getSQLSyntaxInfo(java.lang.String mapName, int layerID) throws java.io.IOException, AutomationException
getSQLSyntaxInfo
in interface IMapServer
mapName
- The mapName (in)layerID
- The layerID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getSupportedImageReturnTypes() throws java.io.IOException, AutomationException
getSupportedImageReturnTypes
in interface IMapServer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRecordSet queryDataStatistics(java.lang.String mapName, IMapTableDescription pTableDescription, IStatisticsRequest pRequest, IQueryFilter pQueryFilter) throws java.io.IOException, AutomationException
queryDataStatistics
in interface IMapServer
mapName
- The mapName (in)pTableDescription
- A reference to a com.esri.arcgis.carto.IMapTableDescription (in)pRequest
- A reference to a com.esri.arcgis.geodatabase.IStatisticsRequest (in)pQueryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IQueryResult queryData(java.lang.String mapName, IMapTableDescription pMapTableDescription, IQueryFilter filter, IQueryResultOptions options) throws java.io.IOException, AutomationException
queryData
in interface IMapServer
mapName
- The mapName (in)pMapTableDescription
- A reference to a com.esri.arcgis.carto.IMapTableDescription (in)filter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)options
- A reference to a com.esri.arcgis.carto.IQueryResultOptions (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IQueryResult queryRelatedRecords(java.lang.String mapName, IMapTableDescription pTableDescription, IFIDSet pFIDs, IRelateDescription relateDescription) throws java.io.IOException, AutomationException
queryRelatedRecords
in interface IMapServer
mapName
- The mapName (in)pTableDescription
- A reference to a com.esri.arcgis.carto.IMapTableDescription (in)pFIDs
- A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)relateDescription
- A reference to a com.esri.arcgis.carto.IRelateDescription (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int queryRowCount(java.lang.String mapName, IMapTableDescription pTableDescription, IQueryFilter pFilter) throws java.io.IOException, AutomationException
queryRowCount
in interface IMapServer
mapName
- The mapName (in)pTableDescription
- A reference to a com.esri.arcgis.carto.IMapTableDescription (in)pFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ILongArray queryRowIDs(java.lang.String mapName, IMapTableDescription pTableDescription, IQueryFilter pFilter) throws java.io.IOException, AutomationException
queryRowIDs
in interface IMapServer
mapName
- The mapName (in)pTableDescription
- A reference to a com.esri.arcgis.carto.IMapTableDescription (in)pFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IImageResults queryRasterValue(java.lang.String mapName, IMapTableDescription pTableDescription, ILongArray rowIDs, java.lang.String fieldName, IImageType rasterValueType) throws java.io.IOException, AutomationException
queryRasterValue
in interface IMapServer
mapName
- The mapName (in)pTableDescription
- A reference to a com.esri.arcgis.carto.IMapTableDescription (in)rowIDs
- A reference to a com.esri.arcgis.system.ILongArray (in)fieldName
- The fieldName (in)rasterValueType
- A reference to a com.esri.arcgis.carto.IImageType (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFilePath() throws java.io.IOException, AutomationException
getFilePath
in interface IMapServer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPhysicalOutputDirectory() throws java.io.IOException, AutomationException
getPhysicalOutputDirectory
in interface IMapServer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getPhysicalCacheDirectory() throws java.io.IOException, AutomationException
getPhysicalCacheDirectory
in interface IMapServer
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.