public class ConfigHelper extends Object
ConfigHelper...| Constructor and Description |
|---|
ConfigHelper() |
| Modifier and Type | Method and Description |
|---|---|
Object |
create(Element elem) |
String |
getDefaultClass(String name) |
Map |
getDefaultClasses() |
String |
getDefaultPackage(String name) |
Map |
getDefaultPackages() |
static Method |
getMethod(Object obj,
String name,
Class... params) |
static String |
getMethodName(String prefix,
String name) |
static boolean |
hasSetter(Object obj,
String name) |
static <T> T |
invokeGetter(Object obj,
String name,
Class<T> T) |
static boolean |
setField(Object obj,
String name,
Object value) |
public Map getDefaultPackages()
public Map getDefaultClasses()
public Object create(Element elem) throws ConfigurationException
ConfigurationExceptionpublic static boolean hasSetter(Object obj, String name) throws ConfigurationException
ConfigurationExceptionpublic static boolean setField(Object obj, String name, Object value) throws ConfigurationException
ConfigurationExceptionpublic static <T> T invokeGetter(Object obj, String name, Class<T> T) throws ConfigurationException
ConfigurationExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved