com.stimulsoft.report.globalization
Class StiGlobalizationContainer

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.report.globalization.StiGlobalizationContainer
All Implemented Interfaces:
IStiJsonReportObject, IStiSerializable, IStiSerializableRef, IStiSerializableToAttributes

public class StiGlobalizationContainer
extends StiSerializedObject
implements IStiSerializable, IStiSerializableToAttributes, IStiJsonReportObject

Copyright Stimulsoft


Field Summary
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiGlobalizationContainer()
           
StiGlobalizationContainer(java.lang.String cultureName)
           
 
Method Summary
 void fillItemsFromReport(StiReport report)
           
 java.util.Hashtable<java.lang.String,java.lang.String> getAllStringsForReport(StiReport report)
          Internal use only.
 java.lang.String getCultureName()
           
 StiGlobalizationItemCollection getItems()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 void localizeReport(StiReport report)
           
 void removeUnlocalizedItemsFromReport(StiReport report)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setCultureName(java.lang.String cultureName)
           
 void setItems(StiGlobalizationItemCollection items)
           
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiGlobalizationContainer

public StiGlobalizationContainer()

StiGlobalizationContainer

public StiGlobalizationContainer(java.lang.String cultureName)
Method Detail

getAllStringsForReport

public java.util.Hashtable<java.lang.String,java.lang.String> getAllStringsForReport(StiReport report)
Internal use only.

Parameters:
report - Report
Returns:
Array of strings

localizeReport

public void localizeReport(StiReport report)

fillItemsFromReport

public void fillItemsFromReport(StiReport report)

removeUnlocalizedItemsFromReport

public void removeUnlocalizedItemsFromReport(StiReport report)

getCultureName

public java.lang.String getCultureName()
Returns:
the cultureName

setCultureName

public void setCultureName(java.lang.String cultureName)
Parameters:
cultureName - the cultureName to set

getItems

public StiGlobalizationItemCollection getItems()
Returns:
the items

setItems

public void setItems(StiGlobalizationItemCollection items)
Parameters:
items - the items to set

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Throws:
JSONException