A B C D E G H I J L M P R S T U W

A

AccessibleIntrospector - Class in jodd.introspector
Default introspector caches all class descriptors.
AccessibleIntrospector() - Constructor for class jodd.introspector.AccessibleIntrospector
 
accessibleOnly - Variable in class jodd.introspector.ClassDescriptor
 
allCtors - Variable in class jodd.introspector.ClassDescriptor
 
allFields - Variable in class jodd.introspector.ClassDescriptor
 
allMethods - Variable in class jodd.introspector.ClassDescriptor
 
allProperties - Variable in class jodd.introspector.ClassDescriptor
 
apply(Object, Object, boolean) - Static method in class jodd.bean.BeanTool
Same as BeanTool.copy(Object, Object, boolean), except null values are not copied.
apply(Object, Object) - Static method in class jodd.bean.BeanTool
Applies only public properties.

B

BaseBeanLoader - Class in jodd.bean.loader
Base BeanLoader.
BaseBeanLoader() - Constructor for class jodd.bean.loader.BaseBeanLoader
 
BeanException - Exception in jodd.bean
Unchecked bean exception.
BeanException(Throwable) - Constructor for exception jodd.bean.BeanException
 
BeanException() - Constructor for exception jodd.bean.BeanException
 
BeanException(String) - Constructor for exception jodd.bean.BeanException
 
BeanException(String, BeanProperty) - Constructor for exception jodd.bean.BeanException
 
BeanException(String, Throwable) - Constructor for exception jodd.bean.BeanException
 
BeanException(String, BeanProperty, Throwable) - Constructor for exception jodd.bean.BeanException
 
BeanLoader - Interface in jodd.bean.loader
Bean Loaders know how to populate a bean from provided source.
BeanLoaderManager - Class in jodd.bean
Manager for BeanLoader instances that populates java beans from various sources.
BeanLoaderManager() - Constructor for class jodd.bean.BeanLoaderManager
 
BeanTemplateParser - Class in jodd.bean
Bean template is a string template with JSP-alike macros for injecting context values.
BeanTemplateParser() - Constructor for class jodd.bean.BeanTemplateParser
 
BeanTool - Class in jodd.bean
Various utilities that are applied on whole bean(s).
BeanTool() - Constructor for class jodd.bean.BeanTool
 
BeanUtil - Class in jodd.bean
Supreme utility for reading and writing bean properties.
BeanUtil() - Constructor for class jodd.bean.BeanUtil
 
BeanUtilBean - Class in jodd.bean
Instantiable version of BeanUtil.
BeanUtilBean() - Constructor for class jodd.bean.BeanUtilBean
 

C

cache - Variable in class jodd.introspector.AccessibleIntrospector
 
cache - Variable in class jodd.introspector.WeakIntrospector
 
ClassDescriptor - Class in jodd.introspector
A descriptor class for all methods/fields/constructors of a class.
ClassDescriptor(Class, boolean) - Constructor for class jodd.introspector.ClassDescriptor
 
ClassIntrospector - Class in jodd.introspector
Default class Introspector simply delegates method calls for more convenient usage.
ClassIntrospector() - Constructor for class jodd.introspector.ClassIntrospector
 
copy(Object, Object, boolean) - Static method in class jodd.bean.BeanTool
Copies properties of one bean to another.
copy(Object, Object) - Static method in class jodd.bean.BeanTool
Copies only public properties.
createBeanMacroResolver(Object) - Static method in class jodd.bean.BeanTemplateParser
Creates bean-backed MacroResolver.

D

describeClass(Class) - Method in class jodd.introspector.AccessibleIntrospector
Describes a class by creating a new instance of ClassDescriptor that examines all accessible methods and fields.
describeClass(Class) - Method in class jodd.introspector.SupportedIntrospector
Describes a class by creating a new instance of ClassDescriptor that will examine all supported methods and fields.
describeClass(Class) - Method in class jodd.introspector.WeakIntrospector
Describes a class by creating a new instance of ClassDescriptor.

E

extractThisReference(String) - Static method in class jodd.bean.BeanUtil
Extract the first name of this reference.
extractThisReference(String) - Method in class jodd.bean.BeanUtilBean
Extract the first name of this reference.

G

getAllBeanGetterNames(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns all bean getters names.
getAllBeanGetterNames() - Method in class jodd.introspector.ClassDescriptor
Returns all public bean getters names.
getAllBeanGetters(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns all bean getters.
getAllBeanGetters() - Method in class jodd.introspector.ClassDescriptor
Returns all public bean getters.
getAllBeanSetterNames(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns an array of all bean setters names.
getAllBeanSetterNames() - Method in class jodd.introspector.ClassDescriptor
Returns an array of all public bean setters names.
getAllBeanSetters(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns an array of all bean setters.
getAllBeanSetters() - Method in class jodd.introspector.ClassDescriptor
Returns an array of all public bean setters.
getAllCtors(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns an array of all ctors.
getAllCtors() - Method in class jodd.introspector.ClassDescriptor
Returns an array of all public ctors.
getAllFields(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns an array of all fields.
getAllFields() - Method in class jodd.introspector.ClassDescriptor
Returns an array of all public fields.
getAllMethods(String, boolean) - Method in class jodd.introspector.ClassDescriptor
Returns an array of all methods with the same name.
getAllMethods(String) - Method in class jodd.introspector.ClassDescriptor
Returns an array of all public methods with the same name.
getAllMethods(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns an array of all methods.
getAllMethods() - Method in class jodd.introspector.ClassDescriptor
Returns an array of all public methods.
getBeanGetter(String, boolean) - Method in class jodd.introspector.ClassDescriptor
Returns bean getter identified by name.
getBeanGetter(String) - Method in class jodd.introspector.ClassDescriptor
Returns public bean getter identified by name.
getBeanSetter(String, boolean) - Method in class jodd.introspector.ClassDescriptor
Returns bean setter identified by name.
getBeanSetter(String) - Method in class jodd.introspector.ClassDescriptor
Returns public bean setter identified by name.
getBeanUtilBean() - Method in class jodd.bean.loader.BaseBeanLoader
 
getClassDescriptorMap(Class) - Method in class jodd.introspector.WeakIntrospector
Returns class descriptor map.
getCtor(Class[], boolean) - Method in class jodd.introspector.ClassDescriptor
Returns the constructor identified by arguments or null if not found.
getCtor(Class[]) - Method in class jodd.introspector.ClassDescriptor
Returns the public ctor identified by arguments or null if not found.
getCtorCount(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns the total number of constructors.
getCtorCount() - Method in class jodd.introspector.ClassDescriptor
Returns the total number of public constructors.
getDeclaredProperty(Object, String) - Static method in class jodd.bean.BeanUtil
Returns value of declared bean's property.
getDeclaredProperty(Object, String) - Method in class jodd.bean.BeanUtilBean
Returns value of declared bean's property.
getDeclaredPropertySilently(Object, String) - Static method in class jodd.bean.BeanUtil
Silently returns value of declared bean's property.
getDeclaredPropertySilently(Object, String) - Method in class jodd.bean.BeanUtilBean
Silently returns value of declared bean's property.
getDeclaredPropertyType(Object, String) - Static method in class jodd.bean.BeanUtil
 
getDeclaredPropertyType(Object, String) - Method in class jodd.bean.BeanUtilBean
 
getDefaultBeanUtilBean() - Static method in class jodd.bean.BeanUtil
Returns default BeanUtilBean.
getDefaultCtor(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns the default ctor or null if not found.
getDefaultCtor() - Method in class jodd.introspector.ClassDescriptor
Returns the public default ctor or null if not found.
getField(String, boolean) - Method in class jodd.introspector.ClassDescriptor
Returns the field identified by name or null if not found.
getField(String) - Method in class jodd.introspector.ClassDescriptor
Returns the public field identified by name or null if not found.
getFieldCount(boolean) - Method in class jodd.introspector.ClassDescriptor
Returns the total number of fields.
getFieldCount() - Method in class jodd.introspector.ClassDescriptor
Returns the total number of public fields.
getIndexProperty(Object, String, boolean, boolean) - Method in class jodd.bean.BeanUtilBean
 
getIndexProperty(BeanProperty, boolean) - Method in class jodd.bean.BeanUtilBean
Get non-nested property value: either simple or indexed property.
getMethod(String, boolean) - Method in class jodd.introspector.ClassDescriptor
Returns the method identified by name or null if not found.
getMethod(String) - Method in class jodd.introspector.ClassDescriptor
Returns the public method identified by name or null if not found.
getMethod(String, Class[], boolean) - Method in class jodd.introspector.ClassDescriptor
Returns the method identified by name and parameters.
getMethod(String, Class[]) - Method in class jodd.introspector.ClassDescriptor
Returns the public method identified by name and parameters.
getProperty(Object, String) - Static method in class jodd.bean.BeanUtil
Returns value of bean's property.
getProperty(Object, String) - Method in class jodd.bean.BeanUtilBean
Returns value of bean's property.
getPropertySilently(Object, String) - Static method in class jodd.bean.BeanUtil
Silently returns value of bean's property.
getPropertySilently(Object, String) - Method in class jodd.bean.BeanUtilBean
Silently returns value of bean's property.
getPropertyType(Object, String) - Static method in class jodd.bean.BeanUtil
 
getPropertyType(Object, String) - Method in class jodd.bean.BeanUtilBean
 
getSimpleProperty(Object, String, boolean) - Method in class jodd.bean.BeanUtilBean
Reads simple property.
getSimpleProperty(BeanProperty, boolean) - Method in class jodd.bean.BeanUtilBean
 
getSimplePropertyForced(Object, String, boolean) - Method in class jodd.bean.BeanUtilBean
Reads simple property forced: when property value doesn't exist, it will be created.
getType() - Method in class jodd.introspector.ClassDescriptor
Get the class object that this descriptor describes.
getUsageCount() - Method in class jodd.introspector.ClassDescriptor
Returns number of class description usages.

H

hasDeclaredProperty(Object, String) - Static method in class jodd.bean.BeanUtil
 
hasDeclaredProperty(Object, String) - Method in class jodd.bean.BeanUtilBean
 
hasIndexProperty(Object, String, boolean) - Method in class jodd.bean.BeanUtilBean
 
hasIndexProperty(BeanProperty, boolean) - Method in class jodd.bean.BeanUtilBean
 
hasProperty(Object, String) - Static method in class jodd.bean.BeanUtil
 
hasProperty(Object, String) - Method in class jodd.bean.BeanUtilBean
 
hasSimpleProperty(Object, String, boolean) - Method in class jodd.bean.BeanUtilBean
Returns true if simple property exist.
hasSimpleProperty(BeanProperty, boolean) - Method in class jodd.bean.BeanUtilBean
 

I

ignoreNulls - Variable in class jodd.bean.loader.BaseBeanLoader
 
increaseUsageCount() - Method in class jodd.introspector.ClassDescriptor
Increases descriptor usage.
inspectCtors() - Method in class jodd.introspector.ClassDescriptor
Inspect class ctors and create ctors cache.
inspectFields() - Method in class jodd.introspector.ClassDescriptor
Inspect class fields and create fields cache.
inspectMethods() - Method in class jodd.introspector.ClassDescriptor
Inspect methods and create methods cache.
inspectProperties() - Method in class jodd.introspector.ClassDescriptor
Inspect methods and create properties cache.
Introspector - Interface in jodd.introspector
Provides introspection analysis against any java class.
isArray() - Method in class jodd.introspector.ClassDescriptor
Returns true if class is an array.
isCollection() - Method in class jodd.introspector.ClassDescriptor
 
isList() - Method in class jodd.introspector.ClassDescriptor
Returns true if class is a List.
isMap() - Method in class jodd.introspector.ClassDescriptor
Returns true if class is a Map.
isSet() - Method in class jodd.introspector.ClassDescriptor
 

J

jodd - package jodd
 
jodd.bean - package jodd.bean
Java Bean utilities, provides the fastest bean manipulation.
jodd.bean.loader - package jodd.bean.loader
Bean loaders iterate given bean, read property names and values which are stored into destination bean.
jodd.introspector - package jodd.introspector
Very fast reflection introspector.
JoddBean - Class in jodd
Jodd BEAN module.
JoddBean() - Constructor for class jodd.JoddBean
 

L

load(Object, Object) - Static method in class jodd.bean.BeanTool
Populates bean from given object by using a loader for given objects type.
load(Object, Object, Class) - Static method in class jodd.bean.BeanTool
 
load(Object, Object) - Method in interface jodd.bean.loader.BeanLoader
Loads values from given source into the destination bean.
load(Object, Object) - Method in class jodd.bean.loader.MapBeanLoader
 
load(Object, Object) - Method in class jodd.bean.loader.ResultSetBeanLoader
 
loaders - Static variable in class jodd.bean.BeanLoaderManager
 
lookup(Class) - Static method in class jodd.bean.BeanLoaderManager
Returns loader for the specific object type.
lookup(Object) - Static method in class jodd.bean.BeanLoaderManager
Performs more thoroughly search for bean loader.
lookup(Class) - Method in class jodd.introspector.AccessibleIntrospector
Returns the ClassDescriptor object for specified class.
lookup(Class) - Static method in class jodd.introspector.ClassIntrospector
Returns class descriptor for specified type.
lookup(Class) - Method in interface jodd.introspector.Introspector
Returns the ClassDescriptor object for specified class.
lookup(Class) - Method in class jodd.introspector.WeakIntrospector
Returns the ClassDescriptor object for specified class.

M

MapBeanLoader - Class in jodd.bean.loader
Populate java bean using implementation of Map.
MapBeanLoader() - Constructor for class jodd.bean.loader.MapBeanLoader
 

P

parse(String, Object) - Method in class jodd.bean.BeanTemplateParser
Replaces named macros with context values.
populateBean(Object, Map<?, ?>) - Static method in class jodd.bean.BeanUtil
 
populateBean(Object, Map<?, ?>) - Method in class jodd.bean.BeanUtilBean
Populates bean from a Map.
populateProperty(Object, String, Map<?, ?>) - Static method in class jodd.bean.BeanUtil
 
populateProperty(Object, String, List<?>) - Static method in class jodd.bean.BeanUtil
 
populateProperty(Object, String, Map<?, ?>) - Method in class jodd.bean.BeanUtilBean
Populates simple bean property from a Map.
populateProperty(Object, String, List<?>) - Method in class jodd.bean.BeanUtilBean
Populates indexed bean property from a List.
publicCtors - Variable in class jodd.introspector.ClassDescriptor
 
publicFields - Variable in class jodd.introspector.ClassDescriptor
 
publicMethods - Variable in class jodd.introspector.ClassDescriptor
 
publicProperties - Variable in class jodd.introspector.ClassDescriptor
 

R

register(Class, BeanLoader) - Static method in class jodd.bean.BeanLoaderManager
Registers loader for an objects of specific type.
register(Class) - Method in class jodd.introspector.AccessibleIntrospector
Registers new class type.
register(Class) - Static method in class jodd.introspector.ClassIntrospector
Registers new type.
register(Class) - Method in interface jodd.introspector.Introspector
Registers new class type.
register(Class) - Method in class jodd.introspector.WeakIntrospector
Registers new class type.
registerDefaults() - Static method in class jodd.bean.BeanLoaderManager
Registers default set of loaders.
reset() - Method in class jodd.introspector.AccessibleIntrospector
Resets current cache.
reset() - Static method in class jodd.introspector.ClassIntrospector
Clears cache.
reset() - Method in interface jodd.introspector.Introspector
Resets current cache.
reset() - Method in class jodd.introspector.WeakIntrospector
Resets current cache.
resolveExistingNestedProperties(BeanProperty) - Method in class jodd.bean.BeanUtilBean
 
resolveNestedProperties(BeanProperty) - Method in class jodd.bean.BeanUtilBean
Resolves nested property name to the very last indexed property.
resolveProperties(Object, boolean) - Static method in class jodd.bean.BeanTool
Returns an array of bean properties.
ResultSetBeanLoader - Class in jodd.bean.loader
Populate java bean from ResultSet objects.
ResultSetBeanLoader() - Constructor for class jodd.bean.loader.ResultSetBeanLoader
 

S

setBeanUtilBean(BeanUtilBean) - Method in class jodd.bean.loader.BaseBeanLoader
 
setDeclaredProperty(Object, String, Object) - Static method in class jodd.bean.BeanUtil
Sets declared Java Bean property.
setDeclaredProperty(Object, String, Object) - Method in class jodd.bean.BeanUtilBean
Sets declared Java Bean property.
setDeclaredPropertyForced(Object, String, Object) - Static method in class jodd.bean.BeanUtil
Sets declared Java Bean property forced.
setDeclaredPropertyForced(Object, String, Object) - Method in class jodd.bean.BeanUtilBean
Sets declared Java Bean property forced.
setDeclaredPropertyForcedSilent(Object, String, Object) - Static method in class jodd.bean.BeanUtil
Silently sets declared Java Bean property forced.
setDeclaredPropertyForcedSilent(Object, String, Object) - Method in class jodd.bean.BeanUtilBean
Silently sets declared Java Bean property forced.
setDeclaredPropertySilent(Object, String, Object) - Static method in class jodd.bean.BeanUtil
Silently sets declared Java Bean property.
setDeclaredPropertySilent(Object, String, Object) - Method in class jodd.bean.BeanUtilBean
Silently sets declared Java Bean property.
setDefaultIntrospector(Introspector) - Static method in class jodd.introspector.ClassIntrospector
Specifies custom global default introspector.
setIndexProperty(Object, String, Object, boolean, boolean) - Method in class jodd.bean.BeanUtilBean
 
setIndexProperty(BeanProperty, Object, boolean) - Method in class jodd.bean.BeanUtilBean
Sets indexed or regular properties (no nested!).
setProperty(Object, String, Object) - Static method in class jodd.bean.BeanUtil
Sets Java Bean property.
setProperty(Object, String, Object) - Method in class jodd.bean.BeanUtilBean
Sets Java Bean property.
setProperty(Object, String, Object) - Method in class jodd.bean.loader.BaseBeanLoader
Sets the target bean property with value.
setPropertyForced(Object, String, Object) - Static method in class jodd.bean.BeanUtil
Sets Java Bean property forced.
setPropertyForced(Object, String, Object) - Method in class jodd.bean.BeanUtilBean
Sets Java Bean property forced.
setPropertyForcedSilent(Object, String, Object) - Static method in class jodd.bean.BeanUtil
Sets Java Bean property forced, without throwing an exception on non-existing properties.
setPropertyForcedSilent(Object, String, Object) - Method in class jodd.bean.BeanUtilBean
Sets Java Bean property forced, without throwing an exception on non-existing properties.
setPropertySilent(Object, String, Object) - Static method in class jodd.bean.BeanUtil
Sets Java Bean property silently, without throwing an exception on non-existing properties.
setPropertySilent(Object, String, Object) - Method in class jodd.bean.BeanUtilBean
Sets Java Bean property silently, without throwing an exception on non-existing properties.
setSimpleProperty(Object, String, Object, boolean) - Method in class jodd.bean.BeanUtilBean
 
setSimpleProperty(BeanProperty, Object, boolean) - Method in class jodd.bean.BeanUtilBean
Sets a value of simple property.
SupportedIntrospector - Class in jodd.introspector
Introspector that caches all class descriptors.
SupportedIntrospector() - Constructor for class jodd.introspector.SupportedIntrospector
 

T

THIS_REF - Static variable in class jodd.bean.BeanUtilBean
 
type - Variable in class jodd.introspector.ClassDescriptor
 

U

unregister(Class) - Static method in class jodd.bean.BeanLoaderManager
 
unregisterAll() - Static method in class jodd.bean.BeanLoaderManager
Unregisters all loaders.
usageCount - Variable in class jodd.introspector.ClassDescriptor
 

W

WeakIntrospector - Class in jodd.introspector
Smarter Introspector caches class data together with class loader information.
WeakIntrospector() - Constructor for class jodd.introspector.WeakIntrospector
 

A B C D E G H I J L M P R S T U W