com.stimulsoft.base
Class StiJsonReportObjectHelper.Deserialize

java.lang.Object
  extended by com.stimulsoft.base.StiJsonReportObjectHelper.Deserialize
Enclosing class:
StiJsonReportObjectHelper

public static class StiJsonReportObjectHelper.Deserialize
extends Object


Constructor Summary
StiJsonReportObjectHelper.Deserialize()
           
 
Method Summary
static StiBorder Border(JProperty prop)
           
static StiBrush Brush(JProperty prop)
           
static StiColor Color(String value)
           
static StiColor[] ColorArray(JSONObject jObject)
           
static StiDateTime DateTime(JProperty prop)
           
static StiFont Font(JProperty prop, StiFont defaultFont)
           
static Integer[] intArray(JSONObject jObject)
           
static ArrayList<Integer> IntArrayList(JSONObject jObject)
           
static StiBorderSide JBorderSide(String text)
           
static StiCap JCap(String text)
           
static StiPoint Point(JSONObject jObject)
           
static StiPoint PointF(JSONObject jObject)
           
static StiRectangle RectangleD(JProperty prop)
           
static StiSize SizeD(JProperty prop)
           
static String[] stringArray(JSONObject jObject)
           
static ArrayList<String> stringList(JSONObject jObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiJsonReportObjectHelper.Deserialize

public StiJsonReportObjectHelper.Deserialize()
Method Detail

stringArray

public static String[] stringArray(JSONObject jObject)
                            throws JSONException
Throws:
JSONException

stringList

public static ArrayList<String> stringList(JSONObject jObject)
                                    throws JSONException
Throws:
JSONException

intArray

public static Integer[] intArray(JSONObject jObject)
                          throws JSONException
Throws:
JSONException

IntArrayList

public static ArrayList<Integer> IntArrayList(JSONObject jObject)
                                       throws JSONException
Throws:
JSONException

Font

public static StiFont Font(JProperty prop,
                           StiFont defaultFont)
                    throws JSONException
Throws:
JSONException

JBorderSide

public static StiBorderSide JBorderSide(String text)

JCap

public static StiCap JCap(String text)

Border

public static StiBorder Border(JProperty prop)
                        throws JSONException
Throws:
JSONException

Color

public static StiColor Color(String value)

Brush

public static StiBrush Brush(JProperty prop)
                      throws JSONException
Throws:
JSONException

ColorArray

public static StiColor[] ColorArray(JSONObject jObject)
                             throws NumberFormatException,
                                    JSONException
Throws:
NumberFormatException
JSONException

DateTime

public static StiDateTime DateTime(JProperty prop)
                            throws JSONException
Throws:
JSONException

RectangleD

public static StiRectangle RectangleD(JProperty prop)
                               throws JSONException
Throws:
JSONException

SizeD

public static StiSize SizeD(JProperty prop)
                     throws JSONException
Throws:
JSONException

Point

public static StiPoint Point(JSONObject jObject)
                      throws JSONException
Throws:
JSONException

PointF

public static StiPoint PointF(JSONObject jObject)
                       throws JSONException
Throws:
JSONException


Copyright © 2017 Stimulsoft. All Rights Reserved.