public class JavaBeanAttributeExtractor extends Object implements AttributeExtractor
| Constructor and Description |
|---|
JavaBeanAttributeExtractor(String beanProperty)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
attributeFor(Element element,
String attributeName)
Extract the attribute value.
|
public JavaBeanAttributeExtractor(String beanProperty)
beanProperty - the bean property name to extractpublic Object attributeFor(Element element, String attributeName) throws AttributeExtractorException
attributeFor in interface AttributeExtractorelement - the cache element to inspectattributeName - the name of the requested attributeAttributeExtractorException - if the attribute cannot be found or extractedCopyright © 2021. All rights reserved.