public class PropertyHandlerFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected static PropertyHandler |
nullMethodHandler |
protected static PropertyHandler |
nullPropertyHandler |
protected static Map<Class,PropertyHandler> |
propertyHandlerClass |
Constructor and Description |
---|
PropertyHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
disposeAll() |
static PropertyHandler |
getNullMethodHandler() |
static PropertyHandler |
getNullPropertyHandler() |
static PropertyHandler |
getPropertyHandler(Class clazz) |
static boolean |
hasNullMethodHandler() |
static boolean |
hasNullPropertyHandler() |
static boolean |
hasPropertyHandler(Class clazz) |
static void |
registerPropertyHandler(Class clazz,
PropertyHandler propertyHandler) |
static void |
setNullMethodHandler(PropertyHandler handler) |
static void |
setNullPropertyHandler(PropertyHandler handler) |
static void |
unregisterPropertyHandler(Class clazz) |
protected static Map<Class,PropertyHandler> propertyHandlerClass
protected static PropertyHandler nullPropertyHandler
protected static PropertyHandler nullMethodHandler
public static PropertyHandler getPropertyHandler(Class clazz)
public static boolean hasPropertyHandler(Class clazz)
public static void registerPropertyHandler(Class clazz, PropertyHandler propertyHandler)
public static void setNullPropertyHandler(PropertyHandler handler)
public static boolean hasNullPropertyHandler()
public static PropertyHandler getNullPropertyHandler()
public static void setNullMethodHandler(PropertyHandler handler)
public static boolean hasNullMethodHandler()
public static PropertyHandler getNullMethodHandler()
public static void unregisterPropertyHandler(Class clazz)
public static void disposeAll()
Copyright © 2018. All rights reserved.