Esri Geoportal Server
1.2.9

com.esri.gpt.catalog.search
Class MapViewerFlex_2_4

java.lang.Object
  extended by com.esri.gpt.catalog.search.MapViewerFlex
      extended by com.esri.gpt.catalog.search.MapViewerFlex_2_4
All Implemented Interfaces:
IMapViewer

public class MapViewerFlex_2_4
extends MapViewerFlex

Works with the 2.4 geoportal widget which works with 2.4 viewer version. Adds kml/kmz ImageServer and FeatureServer support

Author:
TM

Constructor Summary
MapViewerFlex_2_4()
           
 
Method Summary
 boolean canHandleResource()
          Adding handling of kml/kmz, image and feature service
 String getHintServiceType()
          Gets the hint service type.
 String getResourceUri()
          Gets the Resource uri.
 void setHintServiceType(String hintServiceType)
          Sets the hint service type.
 void setResourceUri(String resourceUri)
          Sets the resource uri.
 void setResourceUri(String resourceUri, String hintServiceType)
          Sets the resource uri.
 
Methods inherited from class com.esri.gpt.catalog.search.MapViewerFlex
getRequestContext, getUrlCanBeJscript, readAddToMapUrl, readOpenDefaultMapViewerUrl, readTarget, setMapViewerConfigs, setRequestContext, setSearchResultRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapViewerFlex_2_4

public MapViewerFlex_2_4()
Method Detail

getResourceUri

public String getResourceUri()
Gets the Resource uri.

Overrides:
getResourceUri in class MapViewerFlex
Returns:
the hint Resource uri (trimmed, never null)

setResourceUri

public void setResourceUri(String resourceUri)
Sets the resource uri.

Parameters:
resourceUri - the new resource uri

getHintServiceType

public String getHintServiceType()
Gets the hint service type.

Overrides:
getHintServiceType in class MapViewerFlex
Returns:
the hint service type (trimmed, never null)

setHintServiceType

public void setHintServiceType(String hintServiceType)
Sets the hint service type.

Parameters:
hintServiceType - the new hint service type

setResourceUri

public void setResourceUri(String resourceUri,
                           String hintServiceType)
Sets the resource uri.

Specified by:
setResourceUri in interface IMapViewer
Overrides:
setResourceUri in class MapViewerFlex
Parameters:
resourceUri - the resource uri
hintServiceType - the hint service type

canHandleResource

public boolean canHandleResource()
Adding handling of kml/kmz, image and feature service

Specified by:
canHandleResource in interface IMapViewer
Overrides:
canHandleResource in class MapViewerFlex
Returns:
true if resource can be handled or false if not

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.