|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.ImageServer
public class ImageServer
COM Class 'ImageServer'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'The ArcGIS Server Image Server class.' 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 =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.carto.IImageServer5 |
|---|
IID, IID7e7c1e2b_cef1_42d5_b3d5_017a44362676, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IImageServer4 |
|---|
IID08586b82_874c_492a_93b2_73b91a92d28f |
| Fields inherited from interface com.esri.arcgis.carto.IImageServer3 |
|---|
IIDd27b4a93_5dd5_47e0_9551_951010c342ad |
| Fields inherited from interface com.esri.arcgis.carto.IImageServer2 |
|---|
IIDd9bf0bf1_2ac8_49f5_94cb_6b5182c6297f |
| Fields inherited from interface com.esri.arcgis.carto.IImageServer |
|---|
IID10a6f247_a053_4bb1_aaf3_503ef365e10e |
| Fields inherited from interface com.esri.arcgis.carto.IImageServerInit3 |
|---|
IID, IID1db58a01_ad2f_446c_b274_4389a2638fb6, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IImageServerInit2 |
|---|
IID57e791d8_5492_41c3_8f17_5f416b38111b |
| Fields inherited from interface com.esri.arcgis.carto.IImageServerInit |
|---|
IIDee09fed6_6e28_491a_b00b_5b8796f075e1 |
| Fields inherited from interface com.esri.arcgis.carto.ITiledImageServer |
|---|
IID, IID10bfd112_33d2_4986_997a_f2b6069e45b8, xxDummy |
| Fields inherited from interface com.esri.arcgis.server.IServerObject |
|---|
IID, IID0ad6ab40_9d6a_4bf8_8b86_eb89406dfc6c, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IRequestHandler2 |
|---|
IID, IID8319e7d0_8ad1_48ed_aa99_03f9d0c93ba8, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IRequestHandler |
|---|
IID46a0e2ea_3b64_4a46_bd78_88a1660f35bb |
| Fields inherited from interface com.esri.arcgis.system.IObjectActivate |
|---|
IID, IIDe3b78022_143e_4e61_9099_ed319ec061e7, xxDummy |
| Fields inherited from interface com.esri.arcgis.server.IServerObjectExtensionManager |
|---|
IID, IID25d8b9dd_c7e8_4da4_bf4b_08a67087ceea, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IImageServerObjects |
|---|
IID, IIDd0bafeb3_b04d_4bc2_bd89_d1251450cb83, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IRESTRequestHandler |
|---|
IID, IID9d66a418_d54a_48ed_88bd_043a25fa9c83, xxDummy |
| Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterFunctionTemplateMapper |
|---|
IID, IIDfad854e0_e6e6_42b3_9505_a44d62607932, xxDummy |
| Constructor Summary | |
|---|---|
ImageServer()
Constructs a ImageServer using ArcGIS Engine. |
|
ImageServer(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ImageServer theImageServer = (ImageServer) obj; |
|
| Method Summary | |
|---|---|
void |
activate()
Activates the object. |
IImageServerEditResults |
add(IRasterItemDescriptions pItemDescriptions)
Adds a list of raster items for sharing with other users (roles). |
IRasterHistograms |
computeHistograms(IGeometry pGeometry,
IMosaicRule pMosaicRule,
IPoint pCellsize,
IRenderingRule pRenderingRule)
Computes histograms within an area of interest. |
void |
construct(IPropertySet props)
Two phase object construction. |
IImageServerEditResult |
createView(IImageView pView)
Creates a new view. |
void |
deactivate()
Deactivates the object. |
void |
defineView(IImageView pView)
Defines/creates a new, or overwrites an existing, view. |
IImageServerEditResults |
delete(IFIDSet pRIDs)
Deletes a given list of raster items (images). |
IImageServerEditResult |
deleteView(java.lang.String vID)
Deletes the view of a given view ID. |
IImageServerDownloadResults |
download(IFIDSet pFIDs,
IGeometry pGeometry,
java.lang.String format)
Clips images to a given geometry, and returns a list of downloadable files for a given set of catalog item IDs. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
java.lang.Object |
execute(java.lang.String name,
java.lang.Object argument)
Executes a named image server processing command. |
IImageResult |
exportImage(IGeoImageDescription pImageDescription,
IImageType pImageType)
Exports into a well-known image for a given image description. |
IMapImage |
exportMapImage(IGeoImageDescription pImageDescription,
IImageType pImageType)
Exports into a well-known image with a correct aspect ratio for a given image description. |
IServerObjectExtension |
findExtensionByCLSID(java.lang.String cLSID)
Returns a server object extension found using a string representation of its class ID. |
IServerObjectExtension |
findExtensionByTypeName(java.lang.String name)
Returns a server object extension found using its type name. |
IImageServiceInfo |
generateServiceInfo(IRenderingRule pRenderingRule)
Generates the image service information as if a given rendering rule is applied. |
java.lang.String |
getAllowedCompressions()
The list of allowed compressions, None, LZ77, and JPEG. |
java.lang.String |
getAllowedFields()
The list of allowed field names. |
java.lang.String |
getAllowedItemMetadata()
The allowed metadata, None, Basic, and Full. |
java.lang.String |
getAllowedMosaicMethods()
The list of allowed mosaic methods. |
ICacheControlInfo |
getCacheControlInfo()
Gets the cache description information for a given map. |
ICacheDescriptionInfo |
getCacheDescriptionInfo()
Gets the cache description information for a given map. |
ICacheStorageInfo |
getCacheStorageInfo()
Gets the cache storage information. |
int |
getCatalogItemCount(IQueryFilter pFilter)
Gets the catalog item count for a given query filter. |
IFIDSet |
getCatalogItemIDs(IQueryFilter pFilter)
Gets the catalog item IDs for a given query filter. |
IRecordSet |
getCatalogItems(IQueryFilter pFilter)
Gets the catalog items for a given query filter. |
static java.lang.String |
getClsid()
getClsid. |
java.lang.String |
getConfigurationName()
Name of the server object configuration that defines the server object. |
IRaster |
getDEM()
The DEM for 3D mensuration. |
java.lang.String |
getDownloadDirectory()
The physical directory for downloadable files. |
java.lang.String |
getDynamicImageWorkspace()
The workspace used for adding rasters. |
java.lang.String |
getExcludedFields()
The list of excluded field names. |
IFields |
getFields()
The fields of the image catalog. |
java.lang.String |
getFile(IImageServerDownloadResult pFile)
Get the URL to a given download result. |
byte[] |
getImage(IGeoImageDescription pImageDescription)
Gets an image for a given image description. |
ISpatialReference |
getImageCoordinateSystem(int rID)
Gets the image coordinate system of a given raster. |
IName |
getImageDataSourceName()
The image server data source name. |
byte[] |
getImageTile(int level,
int row,
int column)
Gets a tile for a given tile location from a given map. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IPropertySet |
getKeyProperties()
The image service key properties. |
int |
getMaxImageHeight()
The maximum height in pixels of an image request. |
int |
getMaxImageWidth()
The maximum width in pixels of an image request. |
double |
getMaximumImageCellsize()
The maximum source image cellsize. |
int |
getMaxRecordCount()
The maximum number of records returned for query results (GetCatalog). |
java.lang.String |
getMetadata()
The image service metadata. |
IMosaicDataset |
getMosaicDataset()
The mosaic dataset. |
IMultidimensionalInfo |
getMultidimensionalInfo()
The image service multidimensional info. |
byte[] |
getNativePixelBlock(int rID,
int iID,
int tx,
int ty,
int level)
Gets a pixel block at a given block location for a specified raw source raster. |
IRasterInfos |
getNativeRasterInfo(int rID)
Gets raster information of all raw source rasters for a given raster catalog item. |
java.lang.String |
getOutputDirectory()
The physical directory for output files. |
java.lang.String |
getPhysicalCacheDirectory()
The physical directory for cache files. |
byte[] |
getPixelBlock(int rID,
int tx,
int ty,
int level)
Gets a pixel block at a given block location. |
IRaster |
getRaster()
The raster. |
IRecordSet |
getRasterAttributeTable()
The raster attribute table. |
IRasterDataset |
getRasterDataset()
The raster dataset. |
IRasterInfo |
getRasterInfo(int rID)
Gets the image information of a given raster catalog item. |
IPropertySet |
getRasterKeyProperties(int rID)
The key properties for a given raster catalog item. |
java.lang.String |
getRasterMetadata(int rID)
Gets the metadata of a given raster catalog item. |
java.lang.String |
getSchema()
This method returns the resource hierarchy of a REST based SOE. |
IPropertySet |
getSensorProperties(int rID)
Gets the image coordinate system of a given raster. |
IImageServiceInfo |
getServiceInfo()
The properties of the image service provided. |
IImageResult |
getThumbnail(int rID)
Gets the thumbnail image of a given raster catalog item. |
ITileCacheInfo |
getTileCacheInfo()
Gets the cache configuration for a given map. |
ITileImageInfo |
getTileImageInfo()
Gets the cache tile image information for a given map. |
ITimeTableDefinition |
getTimeDefinition()
The time definition. |
java.lang.String |
getTypeName()
Type of the server object (MapServer or GeocodeServer). |
float |
getVersion()
The Image Server version number. |
IImageView |
getView()
The current image view. |
IImageView |
getView(java.lang.String vID)
Gets the view of a given view ID. |
java.lang.String |
getViewID()
The current image view ID. |
java.lang.String |
getVirtualCacheDirectory()
The physical directory for cache files. |
java.lang.String |
getVirtualDownloadDirectory()
The virtual directory for downloading files. |
java.lang.String |
getVirtualOutputDirectory()
The virtual directory for output files. |
byte[] |
handleBinaryRequest(byte[] request)
Handles a binary request. |
byte[] |
handleBinaryRequest2(java.lang.String capabilities,
byte[] request)
Handles a binary request with explicit capabilities. |
byte[] |
handleRESTRequest(java.lang.String capabilities,
java.lang.String resourceName,
java.lang.String operationName,
java.lang.String operationInput,
java.lang.String outputFormat,
java.lang.String requestProperties,
java.lang.String[] responseProperties)
Handles REST requests for SOE. |
java.lang.String |
handleStringRequest(java.lang.String capabilities,
java.lang.String request)
Handles a SOAP string request. |
int |
hashCode()
the hashcode for this object |
IImageServerIdentifyResult |
identify(IGeometry pLocation,
IMosaicRule pMosaicRule,
IPoint pCellsize)
Identifies the pixel value and catalog items at the given location. |
IImageServerIdentifyResults |
identifyAll(IGeometry pLocations,
IMosaicRule pMosaicRule,
IPoint pCellsize,
IRenderingRule pRenderingRule,
java.lang.String options)
Identifies the pixel values and all catalog items at the given one or more locations. |
void |
initialize(java.lang.String fullName)
Initializes this image server from a fullname to a dataset. |
void |
initializeDEM(java.lang.String uRI)
Initialize DEM for 3D mensuration from a DEM file or service. |
void |
initializeFromDataset(IRasterDataset pDataset)
Initializes this image server from a Raster Dataset. |
void |
initializeFromServiceURL(java.lang.String serviceURL)
Initializes this image server from an AIS service URL (ImageService:// |
void |
initLogging(ILog log)
Initializes an object with a log. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isFixedScaleImage()
Indicates if a given map is a fixed scale map. |
IImageServerMeasureResult |
measure(IGeometry pFrom,
IGeometry pTo,
IMosaicRule pMosaicRule,
IPoint pCellsize,
int operation)
Measures distance, angle, area, perimeter, and height. |
void |
project(ISpatialReference pSpatialReference)
Projects into a new spatial reference. |
void |
release()
Release a ImageServer. |
void |
setAllowedCompressions(java.lang.String pAllowedCompressions)
The list of allowed compressions, None, LZ77, and JPEG. |
void |
setAllowedFields(java.lang.String pAllowedFields)
The list of allowed field names. |
void |
setAllowedItemMetadata(java.lang.String pAllowedItemMetadata)
The allowed metadata, None, Basic, and Full. |
void |
setAllowedMosaicMethods(java.lang.String pAllowedMosaicMethods)
The list of allowed mosaic methods. |
void |
setColormapToRGB(boolean rhs1)
Indicates if a colormap image is to be converted to RGB. |
void |
setDEMByRef(IRaster ppDEM)
The DEM for 3D mensuration. |
void |
setDownloadDirectory(java.lang.String pPath)
The physical directory for downloadable files. |
void |
setDynamicImageWorkspace(java.lang.String pPath)
The workspace used for adding rasters. |
void |
setExcludedFields(java.lang.String pExcludedFields)
The list of excluded field names. |
void |
setImageDataSourceNameByRef(IName ppName)
The image server data source name. |
void |
setMaxImageHeight(int height)
The maximum height in pixels of an image request. |
void |
setMaxImageWidth(int width)
The maximum width in pixels of an image request. |
void |
setMaxRecordCount(int count)
The maximum number of records returned for query results (GetCatalog). |
void |
setOutputDirectory(java.lang.String pPath)
The physical directory for output files. |
void |
setPhysicalCacheDirectory(java.lang.String pCacheDir)
The physical directory for cache files. |
void |
setRasterFunctions(java.lang.String rhs1)
A list of comma delimited server raster function names. |
void |
setRasterTypes(java.lang.String rhs1)
A list of comma delimited server raster type names. |
void |
setUser(java.lang.String rhs1)
The current user. |
void |
setViewByRef(IImageView ppView)
The current image view. |
void |
setViewID(java.lang.String pVID)
The current image view ID. |
void |
setVirtualCacheDirectory(java.lang.String pVirtualCacheDir)
The physical directory for cache files. |
void |
setVirtualDownloadDirectory(java.lang.String pPath)
The virtual directory for downloading files. |
void |
setVirtualOutputDirectory(java.lang.String pPath)
The virtual directory for output files. |
IRasterFunctionTemplate |
toRasterFunctionTemplate(java.lang.String name)
Constructs a raster function template from a known template name. |
IImageServerEditResults |
update(IFIDSet pRIDs,
IRasterItemDescriptions pItemDescriptions)
Updates a given list of raster items (images). |
IImageServerEditResults |
updateView(java.lang.String vID,
IFIDSet pAddIDs,
IFIDSet pDeleteIDs)
Inserts and Removes raster items to a given view. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageServer()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public ImageServer(java.lang.Object obj)
throws java.io.IOException
ImageServer theImageServer = (ImageServer) obj;
obj to ImageServer.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public 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.RemoteObjRef
public float getVersion()
throws java.io.IOException,
AutomationException
getVersion in interface IImageServerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServiceInfo getServiceInfo()
throws java.io.IOException,
AutomationException
getServiceInfo in interface IImageServerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] getImage(IGeoImageDescription pImageDescription)
throws java.io.IOException,
AutomationException
getImage in interface IImageServerpImageDescription - A reference to a com.esri.arcgis.carto.IGeoImageDescription (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageResult exportImage(IGeoImageDescription pImageDescription,
IImageType pImageType)
throws java.io.IOException,
AutomationException
exportImage in interface IImageServerpImageDescription - A reference to a com.esri.arcgis.carto.IGeoImageDescription (in)pImageType - 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 IMapImage exportMapImage(IGeoImageDescription pImageDescription,
IImageType pImageType)
throws java.io.IOException,
AutomationException
exportMapImage in interface IImageServer2pImageDescription - A reference to a com.esri.arcgis.carto.IGeoImageDescription (in)pImageType - 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 IFields getFields()
throws java.io.IOException,
AutomationException
getFields in interface IImageServer3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCatalogItemCount(IQueryFilter pFilter)
throws java.io.IOException,
AutomationException
getCatalogItemCount in interface IImageServer3pFilter - 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 IFIDSet getCatalogItemIDs(IQueryFilter pFilter)
throws java.io.IOException,
AutomationException
getCatalogItemIDs in interface IImageServer3pFilter - 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 IRecordSet getCatalogItems(IQueryFilter pFilter)
throws java.io.IOException,
AutomationException
getCatalogItems in interface IImageServer3pFilter - 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 IImageServerDownloadResults download(IFIDSet pFIDs,
IGeometry pGeometry,
java.lang.String format)
throws java.io.IOException,
AutomationException
download in interface IImageServer3pFIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)format - The format (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getFile(IImageServerDownloadResult pFile)
throws java.io.IOException,
AutomationException
getFile in interface IImageServer3pFile - A reference to a com.esri.arcgis.carto.IImageServerDownloadResult (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServerIdentifyResult identify(IGeometry pLocation,
IMosaicRule pMosaicRule,
IPoint pCellsize)
throws java.io.IOException,
AutomationException
identify in interface IImageServer3pLocation - A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule - A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize - A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getMetadata()
throws java.io.IOException,
AutomationException
getMetadata in interface IImageServer3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterInfo getRasterInfo(int rID)
throws java.io.IOException,
AutomationException
getRasterInfo in interface IImageServer3rID - The rID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] getPixelBlock(int rID,
int tx,
int ty,
int level)
throws java.io.IOException,
AutomationException
getPixelBlock in interface IImageServer3rID - The rID (in)tx - The tx (in)ty - The ty (in)level - The level (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getRasterMetadata(int rID)
throws java.io.IOException,
AutomationException
getRasterMetadata in interface IImageServer3rID - The rID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageResult getThumbnail(int rID)
throws java.io.IOException,
AutomationException
getThumbnail in interface IImageServer3rID - The rID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServiceInfo generateServiceInfo(IRenderingRule pRenderingRule)
throws java.io.IOException,
AutomationException
generateServiceInfo in interface IImageServer3pRenderingRule - A reference to a com.esri.arcgis.carto.IRenderingRule (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterInfos getNativeRasterInfo(int rID)
throws java.io.IOException,
AutomationException
getNativeRasterInfo in interface IImageServer3rID - The rID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] getNativePixelBlock(int rID,
int iID,
int tx,
int ty,
int level)
throws java.io.IOException,
AutomationException
getNativePixelBlock in interface IImageServer3rID - The rID (in)iID - The iID (in)tx - The tx (in)ty - The ty (in)level - The level (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServerEditResults add(IRasterItemDescriptions pItemDescriptions)
throws java.io.IOException,
AutomationException
add in interface IImageServer4pItemDescriptions - A reference to a com.esri.arcgis.carto.IRasterItemDescriptions (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServerEditResults update(IFIDSet pRIDs,
IRasterItemDescriptions pItemDescriptions)
throws java.io.IOException,
AutomationException
update in interface IImageServer4pRIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)pItemDescriptions - A reference to a com.esri.arcgis.carto.IRasterItemDescriptions (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServerEditResults delete(IFIDSet pRIDs)
throws java.io.IOException,
AutomationException
delete in interface IImageServer4pRIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServerMeasureResult measure(IGeometry pFrom,
IGeometry pTo,
IMosaicRule pMosaicRule,
IPoint pCellsize,
int operation)
throws java.io.IOException,
AutomationException
measure in interface IImageServer4pFrom - A reference to a com.esri.arcgis.geometry.IGeometry (in)pTo - A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule - A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize - A reference to a com.esri.arcgis.geometry.IPoint (in)operation - A com.esri.arcgis.carto.esriMensurationOperation constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterHistograms computeHistograms(IGeometry pGeometry,
IMosaicRule pMosaicRule,
IPoint pCellsize,
IRenderingRule pRenderingRule)
throws java.io.IOException,
AutomationException
computeHistograms in interface IImageServer4pGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule - A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize - A reference to a com.esri.arcgis.geometry.IPoint (in)pRenderingRule - A reference to a com.esri.arcgis.carto.IRenderingRule (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRecordSet getRasterAttributeTable()
throws java.io.IOException,
AutomationException
getRasterAttributeTable in interface IImageServer4java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getKeyProperties()
throws java.io.IOException,
AutomationException
getKeyProperties in interface IImageServer4java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getRasterKeyProperties(int rID)
throws java.io.IOException,
AutomationException
getRasterKeyProperties in interface IImageServer4rID - The rID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServerIdentifyResults identifyAll(IGeometry pLocations,
IMosaicRule pMosaicRule,
IPoint pCellsize,
IRenderingRule pRenderingRule,
java.lang.String options)
throws java.io.IOException,
AutomationException
identifyAll in interface IImageServer4pLocations - A reference to a com.esri.arcgis.geometry.IGeometry (in)pMosaicRule - A reference to a com.esri.arcgis.carto.IMosaicRule (in)pCellsize - A reference to a com.esri.arcgis.geometry.IPoint (in)pRenderingRule - A reference to a com.esri.arcgis.carto.IRenderingRule (in)options - The options (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageView getView(java.lang.String vID)
throws java.io.IOException,
AutomationException
getView in interface IImageServer4vID - The vID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServerEditResult createView(IImageView pView)
throws java.io.IOException,
AutomationException
createView in interface IImageServer4pView - A reference to a com.esri.arcgis.carto.IImageView (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServerEditResults updateView(java.lang.String vID,
IFIDSet pAddIDs,
IFIDSet pDeleteIDs)
throws java.io.IOException,
AutomationException
updateView in interface IImageServer4vID - The vID (in)pAddIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)pDeleteIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageServerEditResult deleteView(java.lang.String vID)
throws java.io.IOException,
AutomationException
deleteView in interface IImageServer4vID - The vID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object execute(java.lang.String name,
java.lang.Object argument)
throws java.io.IOException,
AutomationException
execute in interface IImageServer4name - The name (in)argument - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMultidimensionalInfo getMultidimensionalInfo()
throws java.io.IOException,
AutomationException
getMultidimensionalInfo in interface IImageServer5java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getImageCoordinateSystem(int rID)
throws java.io.IOException,
AutomationException
getImageCoordinateSystem in interface IImageServer5rID - The rID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getSensorProperties(int rID)
throws java.io.IOException,
AutomationException
getSensorProperties in interface IImageServer5rID - The rID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initialize(java.lang.String fullName)
throws java.io.IOException,
AutomationException
initialize in interface IImageServerInitfullName - The fullName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initializeFromDataset(IRasterDataset pDataset)
throws java.io.IOException,
AutomationException
initializeFromDataset in interface IImageServerInitpDataset - A reference to a com.esri.arcgis.geodatabase.IRasterDataset (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initializeFromServiceURL(java.lang.String serviceURL)
throws java.io.IOException,
AutomationException
initializeFromServiceURL in interface IImageServerInitserviceURL - The serviceURL (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setImageDataSourceNameByRef(IName ppName)
throws java.io.IOException,
AutomationException
setImageDataSourceNameByRef in interface IImageServerInitppName - A reference to a com.esri.arcgis.system.IName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IName getImageDataSourceName()
throws java.io.IOException,
AutomationException
getImageDataSourceName in interface IImageServerInitjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOutputDirectory(java.lang.String pPath)
throws java.io.IOException,
AutomationException
setOutputDirectory in interface IImageServerInit2pPath - The pPath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getOutputDirectory()
throws java.io.IOException,
AutomationException
getOutputDirectory in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVirtualOutputDirectory(java.lang.String pPath)
throws java.io.IOException,
AutomationException
setVirtualOutputDirectory in interface IImageServerInit2pPath - The pPath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getVirtualOutputDirectory()
throws java.io.IOException,
AutomationException
getVirtualOutputDirectory in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDownloadDirectory(java.lang.String pPath)
throws java.io.IOException,
AutomationException
setDownloadDirectory in interface IImageServerInit2pPath - The pPath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDownloadDirectory()
throws java.io.IOException,
AutomationException
getDownloadDirectory in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVirtualDownloadDirectory(java.lang.String pPath)
throws java.io.IOException,
AutomationException
setVirtualDownloadDirectory in interface IImageServerInit2pPath - The pPath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getVirtualDownloadDirectory()
throws java.io.IOException,
AutomationException
getVirtualDownloadDirectory in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDynamicImageWorkspace(java.lang.String pPath)
throws java.io.IOException,
AutomationException
setDynamicImageWorkspace in interface IImageServerInit2pPath - The pPath (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDynamicImageWorkspace()
throws java.io.IOException,
AutomationException
getDynamicImageWorkspace in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExcludedFields(java.lang.String pExcludedFields)
throws java.io.IOException,
AutomationException
setExcludedFields in interface IImageServerInit2pExcludedFields - The pExcludedFields (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getExcludedFields()
throws java.io.IOException,
AutomationException
getExcludedFields in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxRecordCount()
throws java.io.IOException,
AutomationException
getMaxRecordCount in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxRecordCount(int count)
throws java.io.IOException,
AutomationException
setMaxRecordCount in interface IImageServerInit2count - The count (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxImageWidth()
throws java.io.IOException,
AutomationException
getMaxImageWidth in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxImageWidth(int width)
throws java.io.IOException,
AutomationException
setMaxImageWidth in interface IImageServerInit2width - The width (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaxImageHeight()
throws java.io.IOException,
AutomationException
getMaxImageHeight in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaxImageHeight(int height)
throws java.io.IOException,
AutomationException
setMaxImageHeight in interface IImageServerInit2height - The height (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowedFields(java.lang.String pAllowedFields)
throws java.io.IOException,
AutomationException
setAllowedFields in interface IImageServerInit2pAllowedFields - The pAllowedFields (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getAllowedFields()
throws java.io.IOException,
AutomationException
getAllowedFields in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowedCompressions(java.lang.String pAllowedCompressions)
throws java.io.IOException,
AutomationException
setAllowedCompressions in interface IImageServerInit2pAllowedCompressions - The pAllowedCompressions (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getAllowedCompressions()
throws java.io.IOException,
AutomationException
getAllowedCompressions in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowedMosaicMethods(java.lang.String pAllowedMosaicMethods)
throws java.io.IOException,
AutomationException
setAllowedMosaicMethods in interface IImageServerInit2pAllowedMosaicMethods - The pAllowedMosaicMethods (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getAllowedMosaicMethods()
throws java.io.IOException,
AutomationException
getAllowedMosaicMethods in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowedItemMetadata(java.lang.String pAllowedItemMetadata)
throws java.io.IOException,
AutomationException
setAllowedItemMetadata in interface IImageServerInit2pAllowedItemMetadata - The pAllowedItemMetadata (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getAllowedItemMetadata()
throws java.io.IOException,
AutomationException
getAllowedItemMetadata in interface IImageServerInit2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColormapToRGB(boolean rhs1)
throws java.io.IOException,
AutomationException
setColormapToRGB in interface IImageServerInit3rhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRasterFunctions(java.lang.String rhs1)
throws java.io.IOException,
AutomationException
setRasterFunctions in interface IImageServerInit3rhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRasterTypes(java.lang.String rhs1)
throws java.io.IOException,
AutomationException
setRasterTypes in interface IImageServerInit3rhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUser(java.lang.String rhs1)
throws java.io.IOException,
AutomationException
setUser in interface IImageServerInit3rhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPhysicalCacheDirectory(java.lang.String pCacheDir)
throws java.io.IOException,
AutomationException
setPhysicalCacheDirectory in interface IImageServerInit3pCacheDir - The pCacheDir (in)
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 IImageServerInit3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVirtualCacheDirectory(java.lang.String pVirtualCacheDir)
throws java.io.IOException,
AutomationException
setVirtualCacheDirectory in interface IImageServerInit3pVirtualCacheDir - The pVirtualCacheDir (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getVirtualCacheDirectory()
throws java.io.IOException,
AutomationException
getVirtualCacheDirectory in interface IImageServerInit3getVirtualCacheDirectory in interface ITiledImageServerjava.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 IImageServerInit3ppDEM - 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 IRaster getDEM()
throws java.io.IOException,
AutomationException
getDEM in interface IImageServerInit3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initializeDEM(java.lang.String uRI)
throws java.io.IOException,
AutomationException
initializeDEM in interface IImageServerInit3uRI - The uRI (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getViewID()
throws java.io.IOException,
AutomationException
getViewID in interface IImageServerInit3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setViewID(java.lang.String pVID)
throws java.io.IOException,
AutomationException
setViewID in interface IImageServerInit3pVID - The pVID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IImageView getView()
throws java.io.IOException,
AutomationException
getView in interface IImageServerInit3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setViewByRef(IImageView ppView)
throws java.io.IOException,
AutomationException
setViewByRef in interface IImageServerInit3ppView - A reference to a com.esri.arcgis.carto.IImageView (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void defineView(IImageView pView)
throws java.io.IOException,
AutomationException
defineView in interface IImageServerInit3pView - A reference to a com.esri.arcgis.carto.IImageView (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void project(ISpatialReference pSpatialReference)
throws java.io.IOException,
AutomationException
project in interface IImageServerInit3pSpatialReference - 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 double getMaximumImageCellsize()
throws java.io.IOException,
AutomationException
getMaximumImageCellsize in interface IImageServerInit3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITileCacheInfo getTileCacheInfo()
throws java.io.IOException,
AutomationException
getTileCacheInfo in interface ITiledImageServerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] getImageTile(int level,
int row,
int column)
throws java.io.IOException,
AutomationException
getImageTile in interface ITiledImageServerlevel - The level (in)row - The row (in)column - The column (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITileImageInfo getTileImageInfo()
throws java.io.IOException,
AutomationException
getTileImageInfo in interface ITiledImageServerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICacheStorageInfo getCacheStorageInfo()
throws java.io.IOException,
AutomationException
getCacheStorageInfo in interface ITiledImageServerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFixedScaleImage()
throws java.io.IOException,
AutomationException
isFixedScaleImage in interface ITiledImageServerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICacheDescriptionInfo getCacheDescriptionInfo()
throws java.io.IOException,
AutomationException
getCacheDescriptionInfo in interface ITiledImageServerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ICacheControlInfo getCacheControlInfo()
throws java.io.IOException,
AutomationException
getCacheControlInfo in interface ITiledImageServerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getConfigurationName()
throws java.io.IOException,
AutomationException
getConfigurationName in interface IServerObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getTypeName()
throws java.io.IOException,
AutomationException
getTypeName in interface IServerObjectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void construct(IPropertySet props)
throws java.io.IOException,
AutomationException
construct in interface IObjectConstructprops - A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] handleBinaryRequest(byte[] request)
throws java.io.IOException,
AutomationException
handleBinaryRequest in interface IRequestHandlerrequest - An unsigned byte (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String handleStringRequest(java.lang.String capabilities,
java.lang.String request)
throws java.io.IOException,
AutomationException
handleStringRequest in interface IRequestHandlercapabilities - The capabilities (in)request - The request (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] handleBinaryRequest2(java.lang.String capabilities,
byte[] request)
throws java.io.IOException,
AutomationException
handleBinaryRequest2 in interface IRequestHandler2capabilities - The capabilities (in)request - An unsigned byte (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void initLogging(ILog log)
throws java.io.IOException,
AutomationException
initLogging in interface ILogSupportlog - A reference to a com.esri.arcgis.system.ILog (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void activate()
throws java.io.IOException,
AutomationException
activate in interface IObjectActivatejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deactivate()
throws java.io.IOException,
AutomationException
deactivate in interface IObjectActivatejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IServerObjectExtension findExtensionByCLSID(java.lang.String cLSID)
throws java.io.IOException,
AutomationException
findExtensionByCLSID in interface IServerObjectExtensionManagercLSID - The cLSID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IServerObjectExtension findExtensionByTypeName(java.lang.String name)
throws java.io.IOException,
AutomationException
findExtensionByTypeName in interface IServerObjectExtensionManagername - The name (in)
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 ISupportErrorInforiid - 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.
public IMosaicDataset getMosaicDataset()
throws java.io.IOException,
AutomationException
getMosaicDataset in interface IImageServerObjectsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterDataset getRasterDataset()
throws java.io.IOException,
AutomationException
getRasterDataset in interface IImageServerObjectsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRaster getRaster()
throws java.io.IOException,
AutomationException
getRaster in interface IImageServerObjectsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITimeTableDefinition getTimeDefinition()
throws java.io.IOException,
AutomationException
getTimeDefinition in interface IImageServerObjectsjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] handleRESTRequest(java.lang.String capabilities,
java.lang.String resourceName,
java.lang.String operationName,
java.lang.String operationInput,
java.lang.String outputFormat,
java.lang.String requestProperties,
java.lang.String[] responseProperties)
throws java.io.IOException,
AutomationException
This method is invoked by ArcGIS Server's REST handler, which intercepts client's request (in URL form), parses it and passes it on to this method in form of parameter values.
The REST SOE developer must add logic to use these parameter values to determine which resource/operation is being requested and accordingly handle these requests and generate responses in the output format indicated by the "outputFormat" parameter. For more information on developing REST SOEs, please consult the Java ArcObjects Developer Guide.
Developer doc: Developing extensions > Server Object Extensions > SOE Web Services > REST Web Services > Developing SOE REST Web Services
Samples: Samples > Server Object Extensions section
handleRESTRequest in interface IRESTRequestHandlercapabilities - The capabilities supported by the SOE. An admin can choose which
capabilities are enabled on a particular SOE (in ArcGIS Manager or ArcCatalog), based on certain criteria such as security roles.
This list of allowed capabilities is then sent to this method, at runtime, as a comma separated list. (in)resourceName - Name of the resource being addressed. If empty, its assumed
that root resource is being addressed. (in)operationName - Name of the operation being invoked. If empty, description of
resource is returned. (in)operationInput - Input parameters, in form of comma separated list, to the operation specified by operationName parameter. (in)outputFormat - OutputFormat of operation. Possible formats are JSON, HTML, AMF, etc. (in)requestProperties - The requestProperties (in)responseProperties - The responseProperties (out)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getSchema()
throws java.io.IOException,
AutomationException
For an SOE that has a root resource (called "root") with one operation ("operation0"), and 2 sub-resources with one operation each ("operation1" and "operation2" respectively), the schema would look like:
{
"name": "MyRESTSOE",
"description": "My REST SOE with 3 resources and 1 operation each.",
"isCollection": false,
"operations": [
{
"name": "operation0",
"parameters": ["param01"],
"supportedOutputFormats": ["json"]
}
],
"resources": [
{
"name": "subresource1",
"description": "Sub Resource 1",
"isCollection": true,
"operations": [
{
"name": "operation1",
"parameters": ["param10", "param11"],
"supportedOutputFormats": ["json"]
}
]
},
{
"name": "subresource2",
"description": "Sub Resource 2",
"isCollection": true,
"operations": [
{
"name": "operation2",
"parameters": ["param20", "param21"],
"supportedOutputFormats": ["json"]
}
]
}
]
}
getSchema in interface IRESTRequestHandlerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterFunctionTemplate toRasterFunctionTemplate(java.lang.String name)
throws java.io.IOException,
AutomationException
toRasterFunctionTemplate in interface IRasterFunctionTemplateMappername - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||