public interface AttributeExtractor
extends java.io.Serializable
Serializable
in order to ensure identical
extractors are used in distributed cachesModifier and Type | Method and Description |
---|---|
java.lang.Object |
attributeFor(Element element,
java.lang.String attributeName)
Extract the attribute value.
|
java.lang.Object attributeFor(Element element, java.lang.String attributeName) throws AttributeExtractorException
element
- the cache element to inspectattributeName
- the name of the requested attributeAttributeExtractorException
- if the attribute cannot be found or extracted