public class

FeatureTemplate

extends Object
implements Serializable
java.lang.Object
   ↳ com.esri.core.map.FeatureTemplate

Class Overview

Feature templates define the information required to create a new feature.

Summary

Nested Classes
enum FeatureTemplate.DRAWING_TOOL The default drawing tool to use when creating features based on this template.. 
Public Constructors
FeatureTemplate(String name, String description, Map<StringObject> prototype, FeatureTemplate.DRAWING_TOOL drawingTool)
<<<<<<< HEAD Instantiates an object of FeatureTemplate.
FeatureTemplate()
Instantiates an object of FeatureTemplate.
Public Methods
static FeatureTemplate fromJson(JsonParser parser)
Decodes objects from JSON representation.
String getDescription()
Gets the description of the FeatureTemplate.
FeatureTemplate.DRAWING_TOOL getDrawingTool()
Gets the drawingTool of the FeatureTemplate.
String getName()
Gets the name of the FeatureTemplate.
Map<StringObject> getPrototype()
Gets the prototype of the FeatureTemplate.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FeatureTemplate (String name, String description, Map<StringObject> prototype, FeatureTemplate.DRAWING_TOOL drawingTool)

<<<<<<< HEAD Instantiates an object of FeatureTemplate.

Parameters
name the name
description the description
prototype the prototype
drawingTool >>>>>>> refs/remotes/AndroidSDK/CatalogSignIn

public FeatureTemplate ()

Instantiates an object of FeatureTemplate.

Public Methods

public static FeatureTemplate fromJson (JsonParser parser)

Decodes objects from JSON representation.

Parameters
parser the Jackson parser holding the JSON data.
Returns
  • the decoded object from JSON representation.
Throws
Exception the exception

public String getDescription ()

Gets the description of the FeatureTemplate.

Returns
  • Returns the description.

public FeatureTemplate.DRAWING_TOOL getDrawingTool ()

Gets the drawingTool of the FeatureTemplate.

Returns
  • Returns the drawingTool.

public String getName ()

Gets the name of the FeatureTemplate.

Returns
  • Returns the name.

public Map<StringObject> getPrototype ()

Gets the prototype of the FeatureTemplate.

Returns
  • Returns the prototype.