public class

Bookmark

extends Object
java.lang.Object
   ↳ com.esri.core.map.Bookmark

Class Overview

Represents a bookmark object defined in the Web map.

Summary

Public Constructors
Bookmark()
Public Methods
static Bookmark fromJson(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.
String toString()
Returns string representation of the class.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Bookmark ()

Public Methods

public static Bookmark fromJson (JsonParser parser)

Returns the Bookmark object from the JsonParer object.

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

public Envelope getExtent ()

Returns the envelope of the bookmark.

Returns
Envelope an Envelope object

public String getName ()

Returns the name of the bookmark.

Returns
String String

public SpatialReference getSpatialReference ()

Returns the spatial reference.

Returns
SpatialReference a SpatialReference object.

public String toString ()

Returns string representation of the class. The format and content of the returned string is not part of the contract of the method and is subject to change in any future release or patch without further notice.

Returns
String