public abstract class

PopupFormatValue

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

Class Overview

The PopupFormatValue class is an abstract class for popup value formats such as numbers or dates.

Summary

Public Constructors
PopupFormatValue()
Public Methods
abstract String formattedValue(Object value)
Formats a given object into a string.
static PopupFormatValue fromJson(JsonParser parser)
Constructs a PopupFormatValue object from its JSON representation.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PopupFormatValue ()

Public Methods

public abstract String formattedValue (Object value)

Formats a given object into a string.

Parameters
value The value to be formatted
Returns
  • A formatted String value of the Object.
Throws
ParseException An exception that occurred during formatting of the value.

public static PopupFormatValue fromJson (JsonParser parser)

Constructs a PopupFormatValue object from its JSON representation.

Parameters
parser A JSON parser object whose position is set at the "format" node.
Returns
Throws
Exception An exception that occurred during parsing.