Esri Geoportal Server
1.0

com.esri.gpt.catalog.search
Class MapViewerFactory

java.lang.Object
  extended by com.esri.gpt.catalog.search.MapViewerFactory

public class MapViewerFactory
extends Object

Instantiates mapviewer instances and searches for an instance that supports the url/servicetype.


Constructor Summary
MapViewerFactory()
           
 
Method Summary
static IMapViewer createDefaultMapViewer()
          Creates a new MapViewer object.
static IMapViewer createMapViewer(String resourceUrl, String hintResourceType, SearchResultRecord searchResultRecord, RequestContext requestContext)
          Creates a new MapViewer object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapViewerFactory

public MapViewerFactory()
Method Detail

createMapViewer

public static IMapViewer createMapViewer(String resourceUrl,
                                         String hintResourceType,
                                         SearchResultRecord searchResultRecord,
                                         RequestContext requestContext)
Creates a new MapViewer object.

Parameters:
resourceUrl - the resource url
hintResourceType - the hint
searchResultRecord - the search result record
requestContext - the request context
Returns:
the mapviewer instance

createDefaultMapViewer

public static IMapViewer createDefaultMapViewer()
Creates a new MapViewer object.

Returns:
the map viewer instance. Could be null;

Esri Geoportal Server
1.0

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