|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.implessbean.CapitalStringKeyMapper
This key mapper maps a property name to a capitalized property name.
| Constructor Summary | |
CapitalStringKeyMapper()
|
|
| Method Summary | |
java.lang.Object |
propertyNameToKey(java.util.Map values,
java.lang.String propertyName)
Returns a key object of Map corresponding to propertyName. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CapitalStringKeyMapper()
| Method Detail |
public java.lang.Object propertyNameToKey(java.util.Map values,
java.lang.String propertyName)
KeyMapperBeanHandler tries to invoke Map object's accessor method
rather than to call its get/put method. If it doesn't have a corresponding accessor
method, IllegalArgumentException would be thrown.
propertyNameToKey in interface KeyMappervalues - A Map object containing properties of the bean.
You can use this Map to find out a key of Map corresponding to the propertyName.
Don't change this Map.propertyName - A name of property.
|
Copyright (C) 2004 Kohji Nakamura. All rights reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||