com.esri.core.map
Class Bookmark

java.lang.Object
  extended by com.esri.core.map.Bookmark

public class Bookmark
extends Object

Represents a bookmark object defined in the Web map.

Version:
1.0

Constructor Summary
Bookmark()
           
 
Method Summary
static Bookmark fromJson(org.codehaus.jackson.JsonParser parser)
          Returns the Bookmark object from the JsonParer object.
 Envelope getExtent()
          Returns the envelope of the bookmark.
 String getName()
          Returns the name of the bookmark.
 SpatialReference getSpatialReference()
          Returns the spatial reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bookmark

public Bookmark()
Method Detail

getSpatialReference

public SpatialReference getSpatialReference()
Returns the spatial reference.

Returns:
a SpatialReference object.
Since:
1.0

getExtent

public Envelope getExtent()
Returns the envelope of the bookmark.

Returns:
an Envelope object
Since:
1.0

getName

public String getName()
Returns the name of the bookmark.

Returns:
String
Since:
1.0

fromJson

public static Bookmark fromJson(org.codehaus.jackson.JsonParser parser)
                         throws Exception
Returns the Bookmark object from the JsonParer object.

Parameters:
parser - a JsonParser object
Returns:
a Bookmark object
Throws:
Exception - when the parser throwing the exception.
Since:
1.0


Copyright © 2012. All Rights Reserved.