Package com.day.cq.reporting
Interface ValueExtractor
public interface ValueExtractor
This interface must be implemented by all classes that are used for value extraction.
-
Method Summary
Modifier and TypeMethodDescriptionextractValue(ExtractorDef extractDef, Object baseObj) Extracts a value from the given base object according to the specified extraction definition.voidsetParameter(String parameterStr) Sets a parameter string if one is available.
-
Method Details
-
extractValue
Extracts a value from the given base object according to the specified extraction definition.- Parameters:
extractDef- additional information required for extraction (implementation-specific)baseObj- The basic object to extract the value from (implementation-specific)- Returns:
- The extracted value
-
setParameter
Sets a parameter string if one is available.- Parameters:
parameterStr- The parameter string
-