com.esri.core.portal
Class BaseMap

java.lang.Object
  extended by com.esri.core.portal.BaseMap

public class BaseMap
extends Object

This class represents a base map described in a WebMap.

Since:
1.0

Constructor Summary
protected BaseMap()
          Creates an empty BaseMap.
 
Method Summary
static BaseMap fromJson(org.codehaus.jackson.JsonParser parser)
          Sets the internal state of the BaseMap with a response received from the server.
 List<WebMapLayer> getBaseMapLayers()
          Returns all base map layers.
 String getTitle()
          Returns the tile of the base map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseMap

protected BaseMap()
Creates an empty BaseMap. Users will never construct a BaseMap instance programmatically.

Method Detail

getTitle

public String getTitle()
Returns the tile of the base map.

Returns:
the title
Since:
1.0

getBaseMapLayers

public List<WebMapLayer> getBaseMapLayers()
Returns all base map layers.

Returns:
a List of WebMapLayer
Since:
1.0

fromJson

public static BaseMap fromJson(org.codehaus.jackson.JsonParser parser)
                        throws PortalException
Sets the internal state of the BaseMap with a response received from the server.

Parameters:
parser - the JsonParser instance
Returns:
a BaseMap instance
Throws:
PortalException - the portal exception
Since:
1.0


Copyright © 2012. All Rights Reserved.