com.esri.core.map.popup
Class PopupMediaValue

java.lang.Object
  extended by 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

Nested Class Summary
static class PopupMediaValue.VALUE_TYPE
          Enumeration containing the valid types of popup media.
 
Constructor Summary
PopupMediaValue()
           
 
Method Summary
static PopupMediaValue fromJson(org.codehaus.jackson.JsonParser parser)
          Constructs a PopupMediaValue object from its JSON representation.
abstract  PopupMediaValue.VALUE_TYPE getType()
          Returns the type of the media.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupMediaValue

public PopupMediaValue()
Method Detail

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.