com.esri.core.renderer
Class ClassBreak

java.lang.Object
  extended by com.esri.core.renderer.ClassBreak

public class ClassBreak
extends Object


Constructor Summary
ClassBreak()
          Instantiates an empty ClassBreak object.
ClassBreak(org.codehaus.jackson.JsonNode node)
          Instantiates ClassBreak from a Json node object
 
Method Summary
static ClassBreak fromJson(org.codehaus.jackson.JsonParser parser)
          Decodes objects from JSON representation.
 double getClassMaxValue()
          Gets the maximum value
 String getDescription()
          Gets the description
 String getLabel()
          Gets the label
 Symbol getSymbol()
          Gets the symbol
 void setClassMaxValue(double classMaxValue)
          Sets the maximum value
 void setDescription(String description)
          Sets the description
 void setLabel(String label)
          Sets the label
 void setSymbol(Symbol symbol)
          Sets the symbol
 String toJson()
          Converts into a JSON string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassBreak

public ClassBreak()
Instantiates an empty ClassBreak object.


ClassBreak

public ClassBreak(org.codehaus.jackson.JsonNode node)
           throws Exception
Instantiates ClassBreak from a Json node object

Throws:
Exception
Method Detail

getClassMaxValue

public double getClassMaxValue()
Gets the maximum value

Returns:
the maximum value

setClassMaxValue

public void setClassMaxValue(double classMaxValue)
Sets the maximum value

Parameters:
classMaxValue - the maximum value to set

getLabel

public String getLabel()
Gets the label

Returns:
the label string

setLabel

public void setLabel(String label)
Sets the label

Parameters:
label - the label string

getDescription

public String getDescription()
Gets the description

Returns:
the description

setDescription

public void setDescription(String description)
Sets the description

Parameters:
description - the description to set

getSymbol

public Symbol getSymbol()
Gets the symbol

Returns:
the symbol used to display the value

setSymbol

public void setSymbol(Symbol symbol)
Sets the symbol

Parameters:
symbol - the symbol used to display the value

fromJson

public static ClassBreak fromJson(org.codehaus.jackson.JsonParser parser)
                           throws Exception
Decodes objects from JSON representation.

Parameters:
parser - the Jackson parser holding the JSON data.
Returns:
the decoded object from JSON representation.
Throws:
Exception

toJson

public String toJson()
              throws Exception
Converts into a JSON string.

Returns:
a JSON string
Throws:
Exception


Copyright © 2012. All Rights Reserved.