|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.wms.util.WMSUtil
public class WMSUtil
This class contains the utility methods that are specific to WMS Resource in ADF.
| Method Summary | |
|---|---|
static java.lang.String |
getImageFormat(java.util.List<java.lang.String> availableWMSFormats,
java.lang.String format)
Deprecated. Please use WMSMapResource.getImageFormat(String) instead. |
static com.esri.wms.client.SpatialReference |
getWMSSpatialReference(java.util.List<com.esri.wms.client.SpatialReference> srs,
int id)
Convenient method to return the SpatialReference object based on the specified spatial reference id from
the available list spatial reference's. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@Deprecated
public static java.lang.String getImageFormat(java.util.List<java.lang.String> availableWMSFormats,
java.lang.String format)
WMSMapResource.getImageFormat(String) instead.
For example, if the WMS Service supported formats are, image/bmp, image/jpeg, image/tiff, image/png, image/gif and image/svg+xml then specifying "PNG" will return "image/png" Also, unless implicitly declared by server, otherwise "PNG8", "PNG24", "PNG32" will be treated as "image/png" For example, - if the WMS server supports image/png32, specifying "PNG32" will return "image/png32" - if the WMS server supports image/png, specifying "PNG32" will return "image/png"
availableWMSFormats - the list of supported WMS Service map image formatsformat - the user defined format
WMSMapResource.getWmsServerConnection(),
ServerConnection.getMapFormats()
public static com.esri.wms.client.SpatialReference getWMSSpatialReference(java.util.List<com.esri.wms.client.SpatialReference> srs,
int id)
SpatialReference object based on the specified spatial reference id from
the available list spatial reference's.
srs - the list of available spatial reference'sid - the spatial reference id
SpatialReference object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||