|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.scopemvc.util.convertor.StringConvertors
Factory class for creation of default convertors for arbitrary classes.
You can use a custom factory with a different strategy for locating the
convertors. For that, put the class name of your factory in the
StringConvertors property in the Scope configuration.
| Constructor Summary | |
StringConvertors()
Load convertors from ScopeConfig. |
|
| Method Summary | |
protected StringConvertor |
findConvertor(java.lang.Class inValueClass)
Return a StringConvertor for the passed Class, else return null. |
static StringConvertor |
forClass(java.lang.Class inValueClass)
Return a StringConvertor for the passed Class, else return null. |
protected void |
registerConvertor(java.lang.Class inValueClass,
StringConvertor inConvertor)
Register a new convertor for the value class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StringConvertors()
| Method Detail |
public static StringConvertor forClass(java.lang.Class inValueClass)
StringConvertor for the passed Class, else return null.
inValueClass - Description of the Parameter
protected StringConvertor findConvertor(java.lang.Class inValueClass)
StringConvertor for the passed Class, else return null.
inValueClass - Description of the Parameter
protected void registerConvertor(java.lang.Class inValueClass,
StringConvertor inConvertor)
inValueClass - The value class with the convertor to registerinConvertor - The StringConvertor instance for the value class.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||