|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.renderer.UniqueValue
public class UniqueValue
Instances of this class represent unique value objects that are used in unique value renderers.
| Constructor Summary | |
|---|---|
UniqueValue()
|
|
UniqueValue(org.codehaus.jackson.JsonNode node)
Initializes UniqueValue from a Json node object |
|
| Method Summary | |
|---|---|
static UniqueValue |
fromJson(org.codehaus.jackson.JsonParser parser)
Decodes a unique value from its JSON representation. |
String |
getDescription()
Gets the description. |
String |
getLabel()
Gets the label. |
Symbol |
getSymbol()
Gets the symbol. |
Object[] |
getValue()
Gets the unique value |
void |
setDescription(String description)
Sets the description. |
void |
setLabel(String label)
Sets the label. |
void |
setSymbol(Symbol symbol)
Sets the symbol. |
void |
setValue(Object[] value)
Sets the unique value. |
String |
toJson(String delimiter)
Converts to a JSON string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniqueValue()
public UniqueValue(org.codehaus.jackson.JsonNode node)
throws Exception
Exception| Method Detail |
|---|
public Object[] getValue()
public void setValue(Object[] value)
value - the value to set.public String getLabel()
public void setLabel(String label)
label - the label to set.public String getDescription()
public void setDescription(String description)
description - the description to set.public Symbol getSymbol()
public void setSymbol(Symbol symbol)
symbol - the symbol used to display the value.
public static UniqueValue fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
parser - the Jackson parser holding the JSON data.
Exception
public String toJson(String delimiter)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||