Class ConfigHelper
- java.lang.Object
-
- org.apache.jackrabbit.vault.fs.config.ConfigHelper
-
public class ConfigHelper extends Object
ConfigHelper...
-
-
Constructor Summary
Constructors Constructor Description ConfigHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcreate(Element elem)StringgetDefaultClass(String name)Map<String,String>getDefaultClasses()StringgetDefaultPackage(String name)Map<String,String>getDefaultPackages()protected Map<String,String>getMappings()static MethodgetMethod(Object obj, String name, Class<?>... params)static StringgetMethodName(String prefix, String name)static booleanhasSetter(Object obj, String name)static <T> TinvokeGetter(Object obj, String name, Class<T> T)static booleansetField(Object obj, String name, Object value)
-
-
-
Method Detail
-
create
public Object create(Element elem) throws ConfigurationException
- Throws:
ConfigurationException
-
hasSetter
public static boolean hasSetter(Object obj, String name) throws ConfigurationException
- Throws:
ConfigurationException
-
setField
public static boolean setField(Object obj, String name, Object value) throws ConfigurationException
- Throws:
ConfigurationException
-
invokeGetter
public static <T> T invokeGetter(Object obj, String name, Class<T> T) throws ConfigurationException
- Throws:
ConfigurationException
-
-