public class

WebMapPopupInfo

extends Object
java.lang.Object
   ↳ com.esri.core.portal.WebMapPopupInfo

Class Overview

This class contains the PopupInfo for a WebMapLayer.

Summary

Public Methods
String getLayerUrl()
Gets the layer URL.
PopupInfo getPopupInfo()
Gets the popup info.
void setLayerUrl(String layerUrl)
Sets the layer URL.
void setPopupInfo(PopupInfo popupInfo)
Sets the popup info.
Protected Methods
static WebMapPopupInfo fromJson(JsonParser parser)
Creates a WebMapPopupInfo instance from a JSON parser.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public String getLayerUrl ()

Gets the layer URL.

Returns
String the layer URL

public PopupInfo getPopupInfo ()

Gets the popup info.

Returns
PopupInfo the popup info

public void setLayerUrl (String layerUrl)

Sets the layer URL.

Parameters
layerUrl String: the layer URL

public void setPopupInfo (PopupInfo popupInfo)

Sets the popup info.

Parameters
popupInfo PopupInfo: the popup info to set

Protected Methods

protected static WebMapPopupInfo fromJson (JsonParser parser)

Creates a WebMapPopupInfo instance from a JSON parser.

Parameters
parser JsonParser: contains the JSON to parse
Returns
WebMapPopupInfo a new WebMapPopupInfo, or null if the JSON is invalid
Throws
PortalException if any exception occurs during parsing