com.esri.core.renderer
Class ClassBreak

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

public class ClassBreak
extends Object

The Class ClassBreak.

Since:
1.0

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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassBreak

public ClassBreak()
Instantiates an empty ClassBreak object.

Since:
1.0

ClassBreak

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

Parameters:
node - the node
Throws:
Exception - the exception
Since:
1.0
Method Detail

getClassMaxValue

public double getClassMaxValue()
Gets the maximum value.

Returns:
the maximum value
Since:
1.0

setClassMaxValue

public void setClassMaxValue(double classMaxValue)
Sets the maximum value.

Parameters:
classMaxValue - the maximum value to set
Since:
1.0

getLabel

public String getLabel()
Gets the label.

Returns:
the label string
Since:
1.0

setLabel

public void setLabel(String label)
Sets the label.

Parameters:
label - the label string
Since:
1.0

getDescription

public String getDescription()
Gets the description.

Returns:
the description
Since:
1.0

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - the description to set
Since:
1.0

getSymbol

public Symbol getSymbol()
Gets the symbol.

Returns:
the symbol used to display the value
Since:
1.0

setSymbol

public void setSymbol(Symbol symbol)
Sets the symbol.

Parameters:
symbol - the symbol used to display the value
Since:
1.0

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 - the exception
Since:
1.0

toJson

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

Returns:
a JSON string
Throws:
Exception - the exception
Since:
1.0


Copyright © 2010. All Rights Reserved.