Class LayoutConversionContext
- java.lang.Object
-
- org.nuxeo.ecm.platform.forms.layout.api.converters.LayoutConversionContext
-
public class LayoutConversionContext extends Object
Context propagated to all layout and widget converters.Holds the language (locale) and can also hold a map of serializable objects.
- Since:
- 5.5
-
-
Field Summary
Fields Modifier and Type Field Description protected String
language
protected Map<String,Serializable>
properties
-
Constructor Summary
Constructors Constructor Description LayoutConversionContext(String language, Map<String,Serializable> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLanguage()
Map<String,Serializable>
getProperties()
void
setLanguage(String language)
void
setProperties(Map<String,Serializable> properties)
-
-
-
Field Detail
-
language
protected String language
-
properties
protected Map<String,Serializable> properties
-
-
Constructor Detail
-
LayoutConversionContext
public LayoutConversionContext(String language, Map<String,Serializable> properties)
-
-
Method Detail
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String language)
-
getProperties
public Map<String,Serializable> getProperties()
-
setProperties
public void setProperties(Map<String,Serializable> properties)
-
-