Class JavaBeanConverter
java.lang.Object
org.jdrupes.jsonb.beans.JavaBeanConverter
- Direct Known Subclasses:
JavaBeanDeserializer
,JavaBeanSerializer
Common base class for the JavaBean serializer and deserializer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static BeanInfo
findBeanInfo
(Class<?> cls) Find the bean info for the given class.protected static PropertyEditor
findPropertyEditor
(Class<?> cls) Find the property editor for the given class.
-
Constructor Details
-
JavaBeanConverter
public JavaBeanConverter()Create a new instance.
-
-
Method Details
-
findPropertyEditor
Find the property editor for the given class.- Parameters:
cls
- the class- Returns:
- the property editor
-
findBeanInfo
Find the bean info for the given class.- Parameters:
cls
- the class- Returns:
- the bean info
-