Package org.opencms.jsp.util
Class CmsJspValueTransformers.CmsPropertyLoaderTransformer
java.lang.Object
org.opencms.jsp.util.CmsJspValueTransformers.CmsPropertyLoaderTransformer
- All Implemented Interfaces:
org.apache.commons.collections.Transformer
- Enclosing class:
CmsJspValueTransformers
public static final class CmsJspValueTransformers.CmsPropertyLoaderTransformer
extends Object
implements org.apache.commons.collections.Transformer
Transformer that reads a resource property,
the input is used as String for the property name to read.
-
Constructor Summary
ConstructorsConstructorDescriptionCmsPropertyLoaderTransformer(CmsObject cms, CmsResource resource, boolean search) Creates a new property loading Transformer.CmsPropertyLoaderTransformer(CmsObject cms, CmsResource resource, boolean search, Locale locale) Creates a new property loading Transformer. -
Method Summary
-
Constructor Details
-
CmsPropertyLoaderTransformer
Creates a new property loading Transformer.- Parameters:
cms- theCmsObjectused for reading properties.resource- the resource where the properties are read fromsearch- flag, indicating if property should be searched or not.
-
CmsPropertyLoaderTransformer
public CmsPropertyLoaderTransformer(CmsObject cms, CmsResource resource, boolean search, Locale locale) Creates a new property loading Transformer.- Parameters:
cms- theCmsObjectused for reading properties.resource- the resource where the properties are read fromsearch- flag, indicating if property should be searched or not.locale- the locale for which properties should be accessed
-
-
Method Details
-
transform
- Specified by:
transformin interfaceorg.apache.commons.collections.Transformer- See Also:
-