|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.search.attribute.KeyObjectAttributeExtractor
public class KeyObjectAttributeExtractor
Attempt to use the element key object itself as a search attribute. If the key is not a legal type it is omitted
Constructor Summary | |
---|---|
KeyObjectAttributeExtractor()
|
Method Summary | |
---|---|
java.lang.Object |
attributeFor(Element element,
java.lang.String attributeName)
Extract the attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyObjectAttributeExtractor()
Method Detail |
---|
public java.lang.Object attributeFor(Element element, java.lang.String attributeName) throws AttributeExtractorException
attributeFor
in interface AttributeExtractor
element
- the cache element to inspectattributeName
- the name of the requested attribute
AttributeExtractorException
- if the attribute cannot be found or extracted
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |