public abstract class

PopupMediaValue

extends Object
java.lang.Object
   ↳ com.esri.core.map.popup.PopupMediaValue
Known Direct Subclasses

Class Overview

The PopupMediaValue class is an abstract class for popup media such as charts or images.

See also:

Summary

Nested Classes
enum PopupMediaValue.VALUE_TYPE Enumeration containing the valid types of popup media. 
Public Constructors
PopupMediaValue()
Public Methods
static PopupMediaValue fromJson(JsonParser parser)
Constructs a PopupMediaValue object from its JSON representation.
abstract PopupMediaValue.VALUE_TYPE getType()
Returns the type of the media.
String toJson()
Serializes a PopupMediaValue object into a JSON String.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PopupMediaValue ()

Public Methods

public static PopupMediaValue fromJson (JsonParser parser)

Constructs a PopupMediaValue object from its JSON representation.

Parameters
parser JsonParser: A JSON parser object whose position is set at the "value" node.
Returns
PopupMediaValue A PopupMediaValue object representing the media.
Throws
Exception An exception that occurred during parsing.

public abstract PopupMediaValue.VALUE_TYPE getType ()

Returns the type of the media.

Returns
PopupMediaValue.VALUE_TYPE The type of popup media.

public String toJson ()

Serializes a PopupMediaValue object into a JSON String.

Returns
String a JSON String representing the PopupMediaValue.
Throws
Exception An exception thrown the object cannot be serialized into JSON string.