com.abra.j2xb.annotations
Annotation Type MORegisterPropertyEditor
- @Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface MORegisterPropertyEditor 
Registers a property editor for a given type. Using this annotation is equivalent to using
 
 
 xmlBindingModel.getPropertyEditorRegistry().registerPropertyEditor(propertyClass,
                                                propertyEditorClass);
 
 
 With on exception - the propertyEditorClass is assumed to have a default constructor.
- Since:
- JDK1.5
- Version:
- 1.0, Jun 10, 2008
- Author:
- Yoav Abrahami
- See Also:
- MoXmlBindingModel.getPropertyEditorRegistry(),- MOPropertyEditorRegistry.registerPropertyEditor(Class, com.abra.j2xb.beans.propertyEditors.MOPropertyEditor)
 
propertyType
public abstract java.lang.Class propertyType
- 
 
- 
- Returns:
- The type to which we register the property editor for.
 
propertyEditorClass
public abstract java.lang.Class<? extends MOPropertyEditor> propertyEditorClass
- 
 
- 
- Returns:
- The property editor class (assumed to have a default constructor).
 
Copyright © 2008. All Rights Reserved.