public class PivotJsonSerializationContext
extends java.lang.Object
implements com.google.gson.JsonSerializationContext
Constructor and Description |
---|
PivotJsonSerializationContext(PivotTableModel pivotTableModel) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedPropertyName(java.lang.String property) |
PivotTableModel |
getPivotTableModel() |
java.util.List<java.lang.String> |
getProperties() |
com.google.gson.JsonElement |
serialize(java.lang.Object src) |
com.google.gson.JsonElement |
serialize(java.lang.Object src,
java.lang.reflect.Type typeOfSrc) |
public PivotJsonSerializationContext(PivotTableModel pivotTableModel)
public com.google.gson.JsonElement serialize(java.lang.Object src)
serialize
in interface com.google.gson.JsonSerializationContext
public com.google.gson.JsonElement serialize(java.lang.Object src, java.lang.reflect.Type typeOfSrc)
serialize
in interface com.google.gson.JsonSerializationContext
public PivotTableModel getPivotTableModel()
public java.util.List<java.lang.String> getProperties()
public java.lang.String getLocalizedPropertyName(java.lang.String property)