Class PropertyEditorFactory
java.lang.Object
org.apache.mina.integration.beans.PropertyEditorFactory
A factory that creates a new
PropertyEditor which is appropriate for
the specified object or class.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Class<?> filterPrimitiveType(Class<?> type) static PropertyEditorgetInstance(Class<?> type) Creates a new instance of editor, depending on the given typestatic PropertyEditorgetInstance(Object object) Creates a new instance of editor, depending on the given object's type
-
Constructor Details
-
PropertyEditorFactory
private PropertyEditorFactory()
-
-
Method Details
-
getInstance
Creates a new instance of editor, depending on the given object's type- Parameters:
object- The object we need an editor to be created for- Returns:
- The created editor
-
getInstance
Creates a new instance of editor, depending on the given type- Parameters:
type- The type of editor to create- Returns:
- The created editor
-
filterPrimitiveType
-