com.esri.core.map.popup
Class PopupMediaValue
java.lang.Object
com.esri.core.map.popup.PopupMediaValue
- Direct Known Subclasses:
- PopupChartMediaValue, PopupImageMediaValue
public abstract class PopupMediaValue
- extends Object
The PopupMediaValue class is an abstract class for popup media such as charts or images.
- See Also:
PopupChartMediaValue
,
PopupImageMediaValue
PopupMediaValue
public PopupMediaValue()
getType
public abstract PopupMediaValue.VALUE_TYPE getType()
- Returns the type of the media.
- Returns:
- The type of popup media.
fromJson
public static PopupMediaValue fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
- Constructs a PopupMediaValue object from its JSON representation.
- Parameters:
parser
- A JSON parser object whose position is set at the "value" node.
- Returns:
- A
PopupMediaValue
object representing the media.
- Throws:
Exception
- An exception that occurred during parsing.
Copyright © 2012. All Rights Reserved.