com.esri.core.symbol
Class SymbolHelper
java.lang.Object
com.esri.core.symbol.SymbolHelper
public class SymbolHelper
- extends Object
A convenient class which parses JSON representation of the symbol into a Symbol instance.
- Since:
- 1.0
|
Method Summary |
static Symbol |
createSymbol(org.codehaus.jackson.JsonParser parser)
Creates a Symbol instance using specified JsonParser instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SymbolHelper
public SymbolHelper()
createSymbol
public static Symbol createSymbol(org.codehaus.jackson.JsonParser parser)
- Creates a
Symbol instance using specified JsonParser instance.
- Parameters:
parser - JsonParser instance, which is a JSON representation of the symbol.
- Returns:
- a
Symbol instance, which can be PictureMarkerSymbol, SimpleMarkerSymbol,SimpleLineSymbol
,SimpleFillSymbol, TextSymbol or MultiLayerSymbol. - Since:
- 1.0
Copyright © 2010. All Rights Reserved.