Class ChartSerializer
- java.lang.Object
-
- com._1c.g5.v8.dt.chart.serializer.ChartSerializer
-
public class ChartSerializer extends Object
Serializer/Deserializer forChart
,GanttChart
-
-
Constructor Summary
Constructors Constructor Description ChartSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Chart
deserializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)
DeserializesChart
Dendrogram
deserializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)
DeserializesDendrogram
GanttChart
deserializeChart(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)
DeserializesGanttChart
void
serializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)
SerializesChart
void
serializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)
SerializesDendrogram
void
serializeChart(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)
SerializesGanttChart
-
-
-
Method Detail
-
serializeChart
public void serializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)
SerializesDendrogram
- Parameters:
chart
- -Dendrogram
for serialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IOutPersistenceStorage
- output storage, can't benull
withoutStyleItem
-true
if we need replaceStyleItem
in serialization to concrete value,false
otherwise
-
deserializeChart
public Dendrogram deserializeChart(Dendrogram chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)
DeserializesDendrogram
- Parameters:
chart
- -Dendrogram
for deserialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IInPersistenceStorage
- input storage, can't benull
- Returns:
- deserialized dendogram, never
null
-
serializeChart
public void serializeChart(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)
SerializesGanttChart
- Parameters:
chart
- -Chart
for serialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IOutPersistenceStorage
- output storage, can't benull
withoutStyleItem
-true
if we need replaceStyleItem
in serialization to concrete value,false
otherwise
-
deserializeChart
public GanttChart deserializeChart(GanttChart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)
DeserializesGanttChart
- Parameters:
chart
- -GanttChart
for deserialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IInPersistenceStorage
- input storage, can't benull
- Returns:
- deserialized chart, never
null
-
serializeChart
public void serializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version version, IOutPersistenceStorage storage, boolean withoutStyleItem)
SerializesChart
- Parameters:
chart
- -Chart
for serialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IOutPersistenceStorage
- output storage, can't benull
withoutStyleItem
-true
if we need replaceStyleItem
in serialization to concrete value,false
otherwise
-
deserializeChart
public Chart deserializeChart(Chart chart, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider, Version runtimeVersion, String currentLanguageCode, IInPersistenceStorage storage)
DeserializesChart
- Parameters:
chart
- -Chart
for deserialization, can't benull
scopeProvider
- actualIGlobalScopeProvider
for resolving platform colors, fonts, borders, lines, can't benull
version
- runtime version of the configuration, can't benull
currentLanguageCode
- actual configuration language code, can't benull
storage
- -IInPersistenceStorage
- input storage, can't benull
- Returns:
- deserialized chart, never
null
-
-