com.esri.core.symbol
Class SymbolHelper

java.lang.Object
  extended by com.esri.core.symbol.SymbolHelper

public class SymbolHelper
extends Object

A convenient class which parses JSON representation of the symbol into a Symbol instance.


Constructor Summary
SymbolHelper()
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolHelper

public SymbolHelper()
Method Detail

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.


Copyright © 2012. All Rights Reserved.