Class DefaultPropertyEvaluator
java.lang.Object
de.hybris.platform.acceleratorservices.velocity.eval.DefaultPropertyEvaluator
- All Implemented Interfaces:
PropertyEvaluator
Object available in the velocity context.
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.core.io.DefaultResourceLoaderprotected RowsEvaluator<? extends EvaluatedRow<?,?>, ?> getRowEvaluator(Map properties) Factory method to create a specificRowsEvaluatorCollection<? extends EvaluatedRow<?,?>> Method which loads a given resource.Collection<? extends EvaluatedRow<?,?>> Method which loads a given resource.protected MaploadProperties(org.springframework.core.io.Resource localizedPropertyResource) voidsetRowEvaluator(RowsEvaluator<? extends EvaluatedRow<?, ?>, ?> rowEvaluator)
-
Constructor Details
-
DefaultPropertyEvaluator
-
-
Method Details
-
load
Description copied from interface:PropertyEvaluatorMethod which loads a given resource. The resource is a identifier used to build a physical path to property file containing localized attribute values. Method returns collection of evaluated rows. SeeEvaluatedRowfor more details.- Specified by:
loadin interfacePropertyEvaluator
-
load
Description copied from interface:PropertyEvaluatorMethod which loads a given resource. The resource is a identifier used to build a physical path to property file containing localized attribute values. Adds additional key for filtering out localized properties not matching given type. Method returns collection of evaluated rows. SeeEvaluatedRowfor more details.- Specified by:
loadin interfacePropertyEvaluator
-
loadProperties
-
setRowEvaluator
- Specified by:
setRowEvaluatorin interfacePropertyEvaluator
-
getRowEvaluator
Factory method to create a specificRowsEvaluator -
getDefaultResourceLoader
protected org.springframework.core.io.DefaultResourceLoader getDefaultResourceLoader()
-