|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MOPropertyEditorRegistry
Registry for MOPropertyEditor. To extend the library and support mapping additional Java classes to
XML simple types, register the new MOPropertyEditor instances with the
registerPropertyEditor(Class, MOPropertyEditor) method.
MOPropertyEditor| Method Summary | |
|---|---|
MOPropertyEditor |
get(java.lang.Class clazz)
gets a MO property editor MOPropertyEditor for the given class. |
boolean |
has(java.lang.Class clazz)
checks if the registry knows of a property editor for this class. |
void |
registerPropertyEditor(java.lang.Class clazz,
MOPropertyEditor pe)
registers a new MO property editor MOPropertyEditor to support new primitive types |
| Method Detail |
|---|
void registerPropertyEditor(java.lang.Class clazz,
MOPropertyEditor pe)
MOPropertyEditor to support new primitive types
clazz - - the property typepe - - the property editorMOPropertyEditor get(java.lang.Class clazz)
MOPropertyEditor for the given class. If the class is not registered,
the method will search for a super-class of it that is registered.
clazz - - the property type
boolean has(java.lang.Class clazz)
clazz - - the property class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||