AGSFeatureTemplate Class Reference


Description

Instances of this class represent a feature template. A feature template defines all the information required to create a feature: the layer where a feature will be stored and the attributes a feature is created with.

Since:
1.0
Inheritance diagram for AGSFeatureTemplate:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Properties

NSString * featureDescription
NSString * name
AGSGraphicprototype

Member Function Documentation

- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0

Property Documentation

- (NSString*) featureDescription [read, retain]

Description of the template.

Since:
1.0
- (NSString*) name [read, retain]

Name of the template.

Since:
1.0
- (AGSGraphic*) prototype [read, retain]

A prototypical feature associated with the template which can be used to easily create new features. The prototype specifies default values for the feature's attributes, however, it does not contain a geometry.

Since:
1.0