public class ReflectionAttributeExtractor extends Object implements AttributeExtractor
| Constructor and Description |
|---|
ReflectionAttributeExtractor(String expression)
Create a new ReflectionAttributeExtractor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
attributeFor(Element e,
String attributeName)
Evaluate the expression for the given element
|
public ReflectionAttributeExtractor(String expression) throws InvalidConfigurationException
expression - InvalidConfigurationExceptionpublic Object attributeFor(Element e, String attributeName) throws AttributeExtractorException
attributeFor in interface AttributeExtractore - the cache element to inspectattributeName - the name of the requested attributeAttributeExtractorException - if there is an error in evaluating the expressionCopyright 2001-2021, Terracotta, Inc.