public class ReflectionAttributeExtractor extends Object implements AttributeExtractor
Constructor and Description |
---|
ReflectionAttributeExtractor(String expression)
Create a new ReflectionAttributeExtractor
|
public ReflectionAttributeExtractor(String expression) throws InvalidConfigurationException
expression
- InvalidConfigurationException
public Object attributeFor(Element e, String attributeName) throws AttributeExtractorException
attributeFor
in interface AttributeExtractor
e
- the cache element to inspectattributeName
- the name of the requested attributeAttributeExtractorException
- if there is an error in evaluating the expressionCopyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.