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
ConfigurationException
public static boolean hasSetter(Object obj, String name) throws ConfigurationException
ConfigurationException
public static boolean setField(Object obj, String name, Object value) throws ConfigurationException
ConfigurationException
public static <T> T invokeGetter(Object obj, String name, Class<T> T) throws ConfigurationException
ConfigurationException
Copyright © 2010 - 2020 Adobe. All Rights Reserved