Package com.day.cq.reporting
Interface ValueResolver
public interface ValueResolver
This interface must be implemented by classes that are used for resolving cell values.
-
Method Summary
-
Method Details
-
configure
Configures the value resolver from the specified data node.- Parameters:
configNode- The node the value resolver is configured from; may benullif no explicit configuration is available (resolver should initialize itself with default values in that case)- Throws:
RepositoryException- if configuring the resolver has failed
-
resolve
Resolves the specified value.- Parameters:
session- The session to be used for resolving the value (managed by caller)value- The value to resolvecontext- The context the report is configured to be used from- Returns:
- The resolved value
- Throws:
RepositoryException- if the value could not be resolved due to a repository problem
-