Class PropertyEditorFactory
- java.lang.Object
-
- org.apache.mina.integration.beans.PropertyEditorFactory
-
public final class PropertyEditorFactory extends java.lang.ObjectA factory that creates a newPropertyEditorwhich is appropriate for the specified object or class.- Author:
- Apache MINA Project
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.beans.PropertyEditorgetInstance(java.lang.Class<?> type)Creates a new instance of editor, depending on the given typestatic java.beans.PropertyEditorgetInstance(java.lang.Object object)Creates a new instance of editor, depending on the given object's type
-
-
-
Method Detail
-
getInstance
public static java.beans.PropertyEditor getInstance(java.lang.Object object)
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
public static java.beans.PropertyEditor getInstance(java.lang.Class<?> type)
Creates a new instance of editor, depending on the given type- Parameters:
type- The type of editor to create- Returns:
- The created editor
-
-