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