com.esri.core.map.popup
Class PopupInfoUtil

java.lang.Object
  extended by com.esri.core.map.popup.PopupInfoUtil

public class PopupInfoUtil
extends Object

The Class PopupInfoUtil.

Since:
1.0

Constructor Summary
PopupInfoUtil()
           
 
Method Summary
static UserCredentials getCredential(PopupInfo popupinfo)
          Gets the credential.
static Map<String,Field> getFields(PopupInfo popupInfo)
          Gets the fields.
static com.esri.core.internal.value.Layer getLayer(PopupInfo popupInfo)
          Gets the layer.
static String getTypeIdField(PopupInfo popupInfo)
          Gets the type id field.
static Map<String,FeatureType> getTypes(PopupInfo popupInfo)
          Gets the types.
static boolean isWebMapFeatureCollection(PopupInfo popupInfo)
          Checks if is web map feature collection.
static void setCredential(PopupInfo popupinfo, UserCredentials credential)
          Sets the credential.
static void setLayer(PopupInfo popupInfo, com.esri.core.internal.value.Layer layer)
          Sets the layer.
static void setWebMapFeatureCollection(PopupInfo popupInfo, boolean isWebMapFeatureCollection)
          Sets the web map feature collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupInfoUtil

public PopupInfoUtil()
Method Detail

getLayer

public static final com.esri.core.internal.value.Layer getLayer(PopupInfo popupInfo)
Gets the layer.

Parameters:
popupInfo - the popup info
Returns:
the layer
Since:
1.0

setLayer

public static final void setLayer(PopupInfo popupInfo,
                                  com.esri.core.internal.value.Layer layer)
Sets the layer.

Parameters:
popupInfo - the popup info
layer - the layer
Since:
1.0

isWebMapFeatureCollection

public static final boolean isWebMapFeatureCollection(PopupInfo popupInfo)
Checks if is web map feature collection.

Parameters:
popupInfo - the popup info
Returns:
true, if checks if is web map feature collection
Since:
1.0

setWebMapFeatureCollection

public static final void setWebMapFeatureCollection(PopupInfo popupInfo,
                                                    boolean isWebMapFeatureCollection)
Sets the web map feature collection.

Parameters:
popupInfo - the popup info
isWebMapFeatureCollection - the is web map feature collection
Since:
1.0

getFields

public static final Map<String,Field> getFields(PopupInfo popupInfo)
Gets the fields.

Parameters:
popupInfo - the popup info
Returns:
the fields
Since:
1.0

getTypeIdField

public static final String getTypeIdField(PopupInfo popupInfo)
Gets the type id field.

Parameters:
popupInfo - the popup info
Returns:
the type id field
Since:
1.0

getTypes

public static final Map<String,FeatureType> getTypes(PopupInfo popupInfo)
Gets the types.

Parameters:
popupInfo - the popup info
Returns:
the types
Since:
1.0

setCredential

public static final void setCredential(PopupInfo popupinfo,
                                       UserCredentials credential)
Sets the credential.

Parameters:
popupinfo - the popupinfo
credential - the credential
Since:
1.0

getCredential

public static final UserCredentials getCredential(PopupInfo popupinfo)
Gets the credential.

Parameters:
popupinfo - the popupinfo
Returns:
the credential
Since:
1.0


Copyright © 2010. All Rights Reserved.