Stores a cache of MethodDescriptor -> Method in a WeakHashMap.
Resolve any nested expression to get the actual target bean.
Resolve any nested expression to get the actual target property.
DateTimeConverter
implementation that handles conversion to
and from
java.util.Calendar objects.
Construct a java.util.Calendar Converter that throws
a ConversionException
if an error occurs.
Construct a java.util.Calendar Converter that returns
a default value if an error occurs.
Return a capitalized version of the specified property name.
The root cause of this ConversionException
, compatible with
JDK 1.4's extensions to java.lang.Throwable
.
Standard
Converter
implementation that converts an incoming
String into a primitive array of char.
Create a
Converter
that will return
the specified default value if a conversion error occurs.
Converter
implementaion that handles conversion
to and from
java.lang.Character objects.
Construct a java.lang.Character Converter that throws
a ConversionException
if an error occurs.
Construct a java.lang.Character Converter that returns
a default value if an error occurs.
Converter
implementaion that handles conversion
to and from
java.lang.Class objects.
Construct a java.lang.Class Converter that throws
a ConversionException
if an error occurs.
Construct a java.lang.Class Converter that returns
a default value if an error occurs.
This method reinitializes the bean map to have default values for the
bean's properties.
clear() operation is not supported.
Remove all mappings from this map.
Clear our cache of WrapDynaClass instances.
Clear any cached property descriptors information for all classes
loaded by any class loaders.
Clear any cached property descriptors information for all classes
loaded by any class loaders.
Clone this bean map using the following process:
- If there is no underlying bean, return a cloned BeanMap without a
bean.
Return a shallow copy of this FastHashMap
instance.
Clone a bean based on the available property getters and setters,
even if the bean class itself does not implement Cloneable.
Clone a bean based on the available property getters and setters,
even if the bean class itself does not implement Cloneable.
Abstract collection implementation shared by keySet(), values() and entrySet().
Cross Reference for column name --> dyna property name
(needed when lowerCase option is true)
Compare two JavaBeans by their shared property.
The constructor of the dynaBeanClass
that we will use
for creating new instances.
The method signature of the constructor we will use to create
new DynaBean instances.
Utility reflection methods focussed on constructors, modelled after
MethodUtils
.
The argument values to be passed to the constructore we will use
to create new DynaBean instances.
Does the specified mapped property contain a value for the specified
key value?
Does the specified mapped property contain a value for the specified
key value?
Does the specified mapped property contain a value for the specified
key value?
Does the specified mapped property contain a value for the specified
key value?
Does the specified mapped property contain a value for the specified
key value?
Returns true if the bean defines a property with the given name.
Indicate whether the
DynaBean
contains a specified
value for one (or more) of its properties.
Return true
if this map contains a mapping for the
specified key.
Returns true if the bean defines a property whose current value is
the given object.
Indicates whether the decorated
DynaBean
contains
a specified value.
Return true
if this map contains one or more keys mapping
to the specified value.
The (optional) type of content elements for indexed DynaProperty
An instance of this class represents a value that is provided per (thread)
context classloader.
Construct a context classloader instance
A ConversionException indicates that a call to
Converter.convert()
has failed to complete successfully.
Construct a new exception with the specified message.
Construct a new exception with the specified message and root cause.
Construct a new exception with the specified root cause.
Convert the specified value to the required type.
Convert the specified value to the required type.
Convert the specified value to the required type using the
specified conversion pattern.
Convert the specified value to the required type using the
specified conversion pattern.
Convert the specified input object into an output object of the
specified type.
Convert the input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified input object into an output object of type
array-of-boolean.
Convert the specified input object into an output object of the
specified type.
Convert the specified input object into an output object of the
specified type.
Convert the specified input object into an output object of the
specified type.
Convert the input object into an output object of the
specified type by delegating to the underlying
Converter
implementation.
Convert the specified input object into an output object of the
specified type.
Convert the specified input object into an output object of the
specified type.
Convert the specified input object into an output object of the
specified type.
Convert the specified input object into an output object of the
specified type.
Convert the specified input object into an output object of the
specified type.
Convert the specified input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object.
Convert the specified value into a String.
Convert the specified value into a String.
Convert the specified locale-sensitive value into a String.
Convert the specified locale-sensitive value into a String.
Convert the value to an object of the specified class (if
possible).
Convert the value to an object of the specified class (if
possible).
Convert the value to an object of the specified class (if
possible).
Convert the value to an object of the specified class (if
possible).
Convert the specified locale-sensitive value into a String
using the paticular convertion pattern.
Convert the specified locale-sensitive value into a String
using the paticular convertion pattern.
Convert the specified locale-sensitive input object into an output object.
Convert the specified locale-sensitive value into a String
using the conversion pattern.
Convert the specified locale-sensitive value into a String
using the conversion pattern.
Convert the specified value to an object of the specified class (if
possible).
Convert the specified value to an object of the specified class (if
possible).
Convert the specified value to an object of the specified class (if
possible).
Convert the specified value to an object of the specified class (if
possible).
Convert the specified value to an object of the specified class (if
possible) using the convertion pattern.
Convert the specified value to an object of the specified class (if
possible) using the convertion pattern.
Convert the specified value to an object of the specified class (if
possible) using the convertion pattern.
Convert the specified value to an object of the specified class (if
possible) using the convertion pattern.
Convert an array of specified values to an array of objects of the
specified class (if possible).
Convert an array of specified values to an array of objects of the
specified class (if possible).
Convert an array of specified values to an array of objects of the
specified class (if possible).
Convert an array of specified values to an array of objects of the
specified class (if possible) .
Convert an array of specified values to an array of objects of the
specified class (if possible) using the convertion pattern.
Convert an array of specified values to an array of objects of the
specified class (if possible) using the convertion pattern.
Convert an array of specified values to an array of objects of the
specified class (if possible) using the convertion pattern.
Convert an array of specified values to an array of objects of the
specified class (if possible) using the convertion pattern.
Return the first element from an Array (or Collection)
or the value unchanged if not an Array (or Collection).
Returns the value unchanged.
General purpose data type converter that can be registered and used
within the BeanUtils package to manage the conversion of objects from
one type to another.
Provides a facade for
Converter
implementations
preventing access to any public API in the implementation,
other than that specified by
Converter
.
Construct a converter which delegates to the specified
Converter
implementation.
The set of
Converter
s that can be used to convert Strings
into objects of a specified Class, keyed by the destination Class.
Implementation of DynaBean
that wraps a standard JavaBean
instance, so that DynaBean APIs can be used to access its properties,
though this implementation allows type conversion to occur when properties are set.
Construct a new DynaBean
associated with the specified
JavaBean instance.
Convert a pattern from a localized format to the default format.
Converts a Pattern from one character set to another.
Converts non-array values to a Collection prior
to being converted either to an array or a String.
Convert the input object into a String.
Handles conversion to a String.
Convert a java.lang.Class or object into a String.
Convert a java.lang.Class or object into a String.
Convert an input Date/Calendar object into a String.
Convert an input Number object into a String.
Convert the input object into an output object of the
specified type.
Handles conversion to an array of the specified type.
Convert the specified input object into an output object of the
specified type.
Convert the input object into a java.lang.Character.
Convert the input object into a java.lang.Class.
Convert the input object into a Date object of the
specified type.
Convert the input object into a java.io.File.
Convert the input object into a Number object of the
specified type.
Convert the specified input object into an output object of the
specified type.
Convert a java.net.URL or object into a String.
Converts the given value to the given type.
Utility methods for converting String scalar values to objects of the
specified Class, String arrays to arrays of the specified Class.
Used to perform conversions between object types when setting properties
Utility methods for converting String scalar values to objects of the
specified Class, String arrays to arrays of the specified Class.
Construct a bean with standard converters registered
Copy the column values for each row in the specified
ResultSet
into a newly created
DynaBean
, and add
this bean to the list of
DynaBean
s that will later by
returned by a call to
getRows()
.
Copy property values from the origin bean to the destination bean
for all cases where the property names are the same.
Copy property values from the origin bean to the destination bean
for all cases where the property names are the same.
Copy property values from the "origin" bean to the "destination" bean
for all cases where the property names are the same (even though the
actual getter and setter methods might have been customized via
BeanInfo
classes).
Copy property values from the "origin" bean to the "destination" bean
for all cases where the property names are the same (even though the
actual getter and setter methods might have been customized via
BeanInfo
classes).
Copy the specified property value to the specified destination bean,
performing any type conversion that is required.
Copy the specified property value to the specified destination bean,
performing any type conversion that is required.
This method creates a copy of the provided array, and ensures that
all the strings in the newly created array contain only lower-case
letters.
Create and return a new
DynaBean
instance to be used for
representing a row in the underlying result set.
Create a new Instance of a 'DynaBean' Property.
Create (if necessary) and return a new WrapDynaClass
instance for the specified bean class.
Factory method to create a new DynaProperty for the given index
into the result set metadata.
Create a new Instance of an 'Indexed' Property
Create a new Instance of a 'Mapped' Property
Create a new Instance of a java.lang.Number
Property.
Create a new Instance of other Property types
Create a new Instance of a 'Primitive' Property.
Create a new Instance of a Property
Creates an array of parameters to pass to the given mutator method.
Flag indicating whether the result set is currently positioned at a
row for which we have not yet returned an element in the iteration.
Returns the element on the top of the stack.
get() - method in class org.apache.commons.collections.
Buffer Gets the next object from the buffer without removing it.
Gets the instance which provides the functionality for
BeanUtils
.
Return the element at the specified position.
Returns the value of the bean's property with the given name.
Return the value for the specified key from
the decorated
DynaBean
.
Return the value to which this map maps the specified key.
Return the value of a simple property with the specified name.
Return the value of a simple property with the specified name.
Return the value of a simple property with the specified name.
Return the value of a simple property with the specified name.
Return the value of a simple property with the specified name.
Return the value of an indexed property with the specified name.
Return the value of an indexed property with the specified name.
Return the value of an indexed property with the specified name.
Return the value of an indexed property with the specified name.
Return the value of an indexed property with the specified name.
Return the value of a mapped property with the specified name,
or null
if there is no value for the specified key.
Return the value of a mapped property with the specified name,
or null
if there is no value for the specified key.
Return the value of a mapped property with the specified name.
Return the value of a mapped property with the specified name,
or null
if there is no value for the specified key.
Return the value of a mapped property with the specified name,
or null
if there is no value for the specified key.
Returns a constructor with single argument.
Returns a constructor given a class and signature.
Returns accessible version of the given constructor.
Return an accessible method (that is, one that can be invoked via
reflection) with given name and a single parameter.
Return an accessible method (that is, one that can be invoked via
reflection) with given name and parameters.
Return an accessible method (that is, one that can be invoked via
reflection) that implements the specified Method.
Return an accessible method (that is, one that can be invoked via
reflection) that implements the specified method, by scanning through
all implemented interfaces and subinterfaces.
Return an accessible method (that is, one that can be invoked via
reflection) by scanning through the superclasses.
Gets whether the pattern is localized or not.
Is the pattern to be applied localized
(Indicate whether the pattern is localized or not)
getter for applyLocalized
Return the value of the specified array property of the specified
bean, as a String array.
Return the value of the specified array property of the specified
bean, as a String array.
Returns the bean currently being operated on.
Gets the root cause of the exception.
Return the root cause of this conversion exception.
Get the table column name for the specified property name.
Gets the Comparator being used to compare beans.
Gets the (optional) type of the indexed content for DynaProperty
's
that support this feature.
Gets the ConvertUtilsBean
instance used to perform the conversions.
The debug
static property is no longer used
The debug
static property is no longer used
Make an instance of DecimalFormat.
Return the default value for conversions to the specified
type.
Return the default value for conversions to the specified
type.
Gets the default value for Boolean conversions.
Gets the default value for Boolean conversions.
Gets the default value for Byte conversions.
Gets the default value for Byte conversions.
Gets the default value for Character conversions.
Gets the default value for Character conversions.
Gets the default value for Double conversions.
Gets the default value for Double conversions.
Get the default value for Float conversions.
Gets the default value for Float conversions.
Gets the default value for Integer conversions.
Gets the default value for Integer conversions.
Gets the locale used when no locale is passed.
Gets the Locale
which will be used when
no Locale
is passed to a method.
getter for defaultLocale.
Gets the default value for Long conversions.
Gets the default value for Long conversions.
Gets the default value for Short conversions.
Gets the default value for Short conversions.
Return the default type this Converter
handles.
Provide access to the underlying
DynaBean
this Map decorates.
Return the Class object we will use to create new instances in the
newInstance()
method.
Return the DynaClass
instance that describes the set of
properties available for this DynaBean.
Return the DynaClass
instance that describes the set of
properties available for this DynaBean.
Return the DynaClass
instance that describes the set of
properties available for this DynaBean.
Return the DynaClass
instance that describes the set of
properties available for this DynaBean.
Return the DynaClass
instance that describes the set of
properties available for this DynaBean.
Get the wrap dyna classes cache
Return an array of ProperyDescriptors
for the properties
currently defined in this DynaClass.
Return an array of ProperyDescriptors
for the properties
currently defined in this DynaClass.
Return an array of ProperyDescriptors
for the properties
currently defined in this DynaClass.
Return an array of ProperyDescriptors
for the properties
currently defined in this DynaClass.
Return an array of ProperyDescriptors
for the properties
currently defined in this DynaClass.
Return the property descriptor for the specified property name.
Return a property descriptor for the specified property, if it exists;
otherwise, return null
.
Return a property descriptor for the specified property, if it exists;
otherwise, return null
.
Return a property descriptor for the specified property, if it
exists; otherwise, return null
.
Return a property descriptor for the specified property.
Return a property descriptor for the specified property.
Return the property descriptor for the specified property name.
Return a property descriptor for the specified property, if it exists;
otherwise, return null
.
Returns true if this map is operating in fast mode.
Return a NumberFormat to use for Conversion.
Return a DateFormat
for the Locale.
Return a DateFormat
for the Locale.
Return a DateFormat
for the Locale.
Create a date format for the specified pattern.
Return indexed property index.
Return indexed property index.
Return the index value from the property expression or -1.
Extract the index value from the property expression or -1.
Return the value of the specified indexed property of the specified
bean, as a String.
Return the value of the specified indexed property of the specified
bean, as a String.
Return the value of the specified locale-sensitive indexed property
of the specified bean, as a String using the default conversion pattern of
the corresponding
LocaleConverter
.
Return the value of the specified locale-sensitive indexed property
of the specified bean, as a String using the default conversion pattern of
the corresponding
LocaleConverter
.
Return the value of the specified indexed property of the specified
bean, with no type conversions.
Return the value of the specified indexed property of the specified
bean, with no type conversions.
Return the value of the specified indexed property of the specified
bean, as a String.
Return the value of the specified indexed property of the specified
bean, as a String.
Return the value of the specified locale-sensetive indexed property
of the specified bean, as a String using the default conversion pattern of
the corresponding
LocaleConverter
.
Return the value of the specified locale-sensetive indexed property
of the specified bean, as a String using the default conversion pattern of
the corresponding
LocaleConverter
.
Return the value of the specified indexed property of the specified
bean, with no type conversions.
Return the value of the specified indexed property of the specified
bean, with no type conversions.
Return the value of the specified locale-sensetive indexed property
of the specified bean, as a String using the specified conversion pattern.
Return the value of the specified locale-sensetive indexed property
of the specified bean, as a String using the specified conversion pattern.
Return the value of the specified locale-sensitive indexed property
of the specified bean, as a String.
Return the value of the specified locale-sensitive indexed property
of the specified bean, as a String.
Returns a Method
allowing access to
Throwable.initCause(Throwable)
method of Throwable
,
or
null
if the method
does not exist.
Gets the instance which provides the functionality for
BeanUtils
.
Return the PropertyUtils bean instance.
Gets the bean instance wrapped by this DynaBean.
Return the mapped property key.
Return the mapped property key.
Return the map key from the property expression or null
.
Extract the map key from the property expression or null
.
Return the Locale for the Converter
(or null
if none specified).
Return the Locale for the Converter
(or null
if none specified).
Gets the bean instance used for conversions
Return a Map representation of this DynaBean.
Return a Map representation of this DynaBean.
Return the underlying Map backing this DynaBean
Return the value of the specified indexed property of the specified
bean, as a String.
Return the value of the specified indexed property of the specified
bean, as a String.
Return the value of the specified locale-sensitive mapped property
of the specified bean, as a String using the default
conversion pattern of the corresponding
LocaleConverter
.
Return the value of the specified locale-sensitive mapped property
of the specified bean, as a String using the default
conversion pattern of the corresponding
LocaleConverter
.
Return the value of the specified mapped property of the
specified bean, with no type conversions.
Return the value of the specified mapped property of the
specified bean, with no type conversions.
Return the value of the specified mapped property of the specified
bean, as a String.
Return the value of the specified mapped property of the specified
bean, as a String.
Return the value of the specified mapped locale-sensitive property
of the specified bean, as a String
The key is specified as a method parameter and must *not* be included
in the property name expression.
Return the value of the specified mapped locale-sensitive property
of the specified bean, as a String
The key is specified as a method parameter and must *not* be included
in the property name expression
Return the value of the specified mapped property of the specified
bean, with no type conversions.
Return the value of the specified mapped property of the specified
bean, with no type conversions.
Return the value of the specified mapped locale-sensitive property
of the specified bean, as a String using the specified conversion pattern.
Return the value of the specified mapped locale-sensitive property
of the specified bean, as a String using the specified conversion pattern.
Return the mapped property descriptors for this bean class.
Return the mapped property descriptors for this bean class.
Return the mapped property descriptors for this bean.
Return the mapped property descriptors for this bean.
Return the value of the specified locale-sensitive mapped property
of the specified bean, as a String using the specified pattern.
Return the value of the specified locale-sensitive mapped property
of the specified bean, as a String using the specified pattern.
Gets the Class object for the property values.
Gets the method that should be used to read one of the property value.
Gets the method that should be used to write one of the property value.
Find an accessible constructor with compatible parameters.
Find an accessible method that matches the given name and has compatible parameters.
Find a method on a class with a specified parameter list.
Find a method on a class with a specified number of parameters.
Return the name of this DynaClass (analogous to the
getName()
method of java.lang.Class
DynaClass
implementation class to support
different dynamic classes, with different sets of properties.
Return the name of this DynaClass (analogous to the
getName()
method of java.lang.Class
DynaClass
implementation class to support
different dynamic classes, with different sets of properties.
Get the name of this property.
Return the name of this DynaClass (analogous to the
getName()
method of java.lang.Class
DynaClass
implementation class to support
different dynamic classes, with different sets of properties.
Return the name of this DynaClass (analogous to the
getName()
method of java.lang.Class
Return property name (includes indexed/mapped expr).
Return property name (includes indexed/mapped expr).
Return the name of this DynaClass (analogous to the
getName()
method of java.lang.Class
DynaClass
implementation class to support
different dynamic classes, with different sets of properties.
Return the value of the (possibly nested) property of the specified
name, for the specified bean, as a String.
Return the value of the (possibly nested) property of the specified
name, for the specified bean, as a String.
Return the value of the (possibly nested) locale-sensitive property
of the specified name.
Return the value of the (possibly nested) locale-sensitive property
of the specified name, for the specified bean, as a String using the default
conversion pattern of the corresponding
LocaleConverter
.
Return the value of the (possibly nested) property of the specified
name, for the specified bean, with no type conversions.
Return the value of the (possibly nested) property of the specified
name, for the specified bean, with no type conversions.
Return the value of the (possibly nested) locale-sensitive property
of the specified name, for the specified bean,
as a String using the specified pattern.
Return the value of the (possibly nested) locale-sensitive property
of the specified name, for the specified bean,
as a String using the specified pattern.
Get a column value from a ResultSet
for the specified name.
Get a value from the ResultSet
for the specified
property name.
Gets the number of steps required needed to turn the source class into the
destination class.
Return the number format pattern used to convert
Numbers to/from a java.lang.String
(or null
if none specified).
Return the date format patterns used to convert
dates to/from a java.lang.String
(or null
if none specified).
Gets the
Predicate
to be applied to the value of the named property
during
evaluate(Object)
.
Gets the class for the primitive type corresponding to the primitive wrapper class given.
Gets the wrapper object class for the given primitive type class.
Gets the property attribute of the BeanComparator
Return the value of the specified property of the specified bean,
no matter which property reference format is used, as a String.
Return the value of the specified property of the specified bean,
no matter which property reference format is used, as a String.
Return the value of the specified locale-sensitive property
of the specified bean.
Return the value of the specified locale-sensitive property
of the specified bean, no matter which property reference
format is used, as a String using the default
conversion pattern of the corresponding
LocaleConverter
.
Return the value of the specified property of the specified bean,
no matter which property reference format is used, with no
type conversions.
Return the value of the specified property of the specified bean,
no matter which property reference format is used, with no
type conversions.
Return the value of the specified locale-sensitive property
of the specified bean.
Return the value of the specified locale-sensitive property
of the specified bean, no matter which property reference
format is used, as a String using the specified conversion pattern.
Return the property name from the property expression.
Return the property name from the property expression.
Retrieve the property descriptor for the specified property of the
specified bean, or return null
if there is no such
descriptor.
Retrieve the property descriptor for the specified property of the
specified bean, or return null
if there is no such
descriptor.
Return the PropertyDescriptor for the specified property name, if any;
otherwise return null
.
Retrieve the property descriptors for the specified class,
introspecting and caching them the first time a particular bean class
is encountered.
Retrieve the property descriptors for the specified class,
introspecting and caching them the first time a particular bean class
is encountered.
Retrieve the property descriptors for the specified bean,
introspecting and caching them the first time a particular bean class
is encountered.
Retrieve the property descriptors for the specified bean,
introspecting and caching them the first time a particular bean class
is encountered.
Return the Java Class repesenting the property editor class that has
been registered for this property (if any).
Return the Java Class repesenting the property editor class that has
been registered for this property (if any).
Gets the name of the property whose value is to be predicated.
Returns the name of the property which will be updated when this Closure
executes.
Returns the name of the property which will be evaluated when this Predicate
is
executed.
Returns the name of the property that will be used in the transformation of the bean.
This method is called by getNestedProperty and setNestedProperty to
define what it means to get a property from an object which implements
Map.
Return the Java Class representing the property type of the specified
property, or null
if there is no such property for the
specified bean.
Return the Java Class representing the property type of the specified
property, or null
if there is no such property for the
specified bean.
Gets the PropertyUtilsBean
instance used to access properties.
Returns the value that the property specified by propertyName
will be updated to when this Closure
executes.
Returns the value that the property specified by propertyName
will be compared to
when this Predicate
executes.
Return the property name.
Return the property name.
Returns the accessor for the property with the given name.
Return an accessible property getter method for this property,
if there is one; otherwise return null
.
Return an accessible property getter method for this property,
if there is one; otherwise return null
.
Returns the accessor for the property with the given name.
Return the configured
Resolver
implementation used by BeanUtils.
Return the result set we are wrapping.
Return a
List
containing the
DynaBean
s that
represent the contents of each
Row
from the
ResultSet
that was the basis of this
RowSetDynaClass
instance.
Return the value of the specified simple property of the specified
bean, converted to a String.
Return the value of the specified simple property of the specified
bean, converted to a String.
Return the value of the specified simple locale-sensitive property
of the specified bean, converted to a String using the default
conversion pattern of the corresponding
LocaleConverter
.
Return the value of the specified simple locale-sensitive property
of the specified bean, converted to a String using the default
conversion pattern of the corresponding
LocaleConverter
.
Return the value of the specified simple property of the specified
bean, with no type conversions.
Return the value of the specified simple property of the specified
bean, with no type conversions.
Return the value of the specified simple locale-sensitive property
of the specified bean, converted to a String using the specified
conversion pattern.
Return the value of the specified simple locale-sensitive property
of the specified bean, converted to a String using the specified
conversion pattern.
Return the Time Zone to use when converting dates
(or null
if none specified.
Returns the sum of the object transformation cost for each class in the source
argument list.
Gets the Java class representing the data type of the underlying property
values.
Returns the type of the property with the given name.
Returns a transformer for the given primitive type.
Returns the mutator for the property with the given name.
Return an accessible property setter method for this property,
if there is one; otherwise return null
.
Return an accessible property setter method for this property,
if there is one; otherwise return null
.
Returns the mutator for the property with the given name.
Grow the size of an indexed property
Automatically grown the List
to the appropriate size, populating with
DynaBeans.
Determines whether null
objects in the property path will genenerate an
IllegalArgumentException
or not.
Should
null
objects in the property path be ignored?
Determines whether
null
objects in the property path will genenerate an
IllegalArgumentException
or not.
Should null objects on the property path throw an
IllegalArgumentException
?
Determines whether
null
objects in the property path will genenerate an
IllegalArgumentException
or not.
The delimiter that preceeds the zero-relative subscript for an
indexed reference.
The delimiter that follows the zero-relative subscript for an
indexed reference.
A reference to Throwable's initCause method, or null if it's not there in this JVM
If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
If we're running on JDK 1.4 or later, initialize the cause for the given throwable.
This method is called at class initialization time to define the
value for constant member DEFAULT_PATTERN_CHARS.
Returns the initial value for this ContextClassLoaderLocal
variable.
The JavaBean instance wrapped by this WrapDynaBean.
Model object for int arrays.
Standard
Converter
implementation that converts an incoming
String into a primitive array of int.
Create a
Converter
that will return
the specified default value if a conversion error occurs.
NumberConverter
implementation that handles conversion to
and from
java.lang.Integer objects.
Construct a java.lang.Integer Converter that throws
a ConversionException
if an error occurs.
Construct a java.lang.Integer Converter that returns
a default value if an error occurs.
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a
java.lang.Integer
object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Find a method on a class with a specified number of parameters.
Introspect our bean class to identify the supported properties.
Introspect the metadata associated with our result set, and populate
the properties
and propertiesMap
instance
variables.
Convenience method returning new instance of klazz
using a single argument constructor.
Returns new instance of klazz
created using the actual arguments args
.
Returns new instance of klazz
created using constructor
with signature parameterTypes
and actual arguments args
.
Convenience method returning new instance of klazz
using a single argument constructor.
Returns new instance of klazz
created using the actual arguments args
.
Returns new instance of klazz
created using constructor
with signature parameterTypes
and actual arguments
args
.
Invoke a method whose parameter type matches exactly the object
type.
Invoke a method whose parameter types match exactly the object
types.
Invoke a method whose parameter types match exactly the parameter
types given.
Invoke a static method whose parameter type matches exactly the object
type.
Invoke a static method whose parameter types match exactly the object
types.
Invoke a static method whose parameter types match exactly the parameter
types given.
This just catches and wraps IllegalArgumentException.
Invoke a named method whose parameter type matches the object type.
Invoke a named method whose parameter type matches the object type.
Invoke a named method whose parameter type matches the object type.
Invoke the setter method.
Invoke the setter method.
Invoke a named static method whose parameter type matches the object type.
Invoke a named static method whose parameter type matches the object type.
Invoke a named static method whose parameter type matches the object type.
Return whether decimals are allowed in the number.
Is an object of the source class assignable to the destination class?
Is an object of the source class assignable to the destination class?
Determine whether a type can be used as a parameter in a method invocation.
Indicates if there is a property with the specified name.
Indicate whether a property actually exists.
Indicate whether a property actually exists.
Indicate whether the decorated
DynaBean
has
any properties.
Return true
if this map contains no mappings.
Returns the flag that determines whether null
objects in the property path will
genenerate an IllegalArgumentException
or not.
Returns the flag which determines whether null
objects in the property path will
genenerate an IllegalArgumentException
or not.
Returns the flag which determines whether null
objects in the property path will
genenerate an IllegalArgumentException
or not.
Does this property represent an indexed value (ie an array or List)?
Indicate whether the expression is for an indexed property or not.
Indicate whether the expression is for an indexed property or not.
Should the date conversion be lenient?
Returns whether date formatting is lenient.
Does this property represent a mapped value (ie a Map)?
Indicate whether the expression is for a mapped property or not.
Indicate whether the expression is for a mapped property or not.
Return true
if the specified property name identifies
a readable property on the specified bean; otherwise, return
false
.
Return true
if the specified property name identifies
a readable property on the specified bean; otherwise, return
false
.
Indicate whether the Map is read only.
Is this DynaClass currently restricted.
Is this DynaClass currently restricted.
Is this DynaClass currently restricted, if so, no changes to the
existing registration of property names, data types, readability, or
writeability are allowed.
Should this DynaClass return a null
from
the getDynaProperty(name)
method if the property
doesn't exist.
Should this DynaClass return a null
from
the getDynaProperty(name)
method if the property
doesn't exist.
Indicates whether a default value will be returned or exception
thrown in the event of a conversion error.
Return true
if the specified property name identifies
a writeable property on the specified bean; otherwise, return
false
.
Return true
if the specified property name identifies
a writeable property on the specified bean; otherwise, return
false
.
Return an
Iterator
of
DynaBean
instances for
each row of the wrapped
ResultSet
, in "forward" order.
DynaBean which automatically adds properties to the DynaClass
and provides Lazy List and Lazy Map features.
Construct a new LazyDynaBean
with a LazyDynaClass
instance.
Construct a new DynaBean
associated with the specified
DynaClass
instance - if its not a MutableDynaClass
then a new LazyDynaClass
is created and the properties copied.
Construct a new LazyDynaBean
with a LazyDynaClass
instance.
DynaClass which implements the MutableDynaClass
interface.
Construct a new LazyDynaClass with default parameters.
Construct a new LazyDynaClass with the specified name.
Construct a new LazyDynaClass with the specified name and DynaBean class.
Construct a new LazyDynaClass with the specified name, DynaBean class and properties.
Construct a new LazyDynaClass with the specified name and properties.
Lazy DynaBean List.
There are two main purposes for this class:
- To provide Lazy List behaviour - automatically
growing and populating the
List
with either DynaBean
, java.util.Map
or POJO Beans. - To provide a straight forward way of putting a Collection
or Array into the lazy list and a straight forward
way to get it out again at the end.
All elements added to the List are stored as
DynaBean
's:
java.util.Map
elements are "wrapped" in a LazyDynaMap
.
- POJO Bean elements are "wrapped" in a
WrapDynaBean.
DynaBean
's are stored un-changed.
toArray()
The
toArray()
method returns an array of the
elements of the appropriate type.
Construct a LazyDynaList with a
specified type for its elements.
Construct a LazyDynaList populated with the
elements of a Collection.
Construct a LazyDynaList with the
specified capacity.
Construct a LazyDynaList populated with the
elements of an Array.
Construct a LazyDynaList with a
specified DynaClass for its elements.
Provides a light weight DynaBean
facade to a Map
with lazy map/list processing.
Construct a new LazyDynaMap
with the specified Map
.
Construct a new LazyDynaMap
based on an exisiting DynaClass
Construct a new LazyDynaMap
with the specified properties.
Construct a new LazyDynaMap
with the specified name.
Construct a new LazyDynaMap
with the specified name and Map
.
Construct a new LazyDynaMap
with the specified name and properties.
Limits the size of the returned list.
Loads and returns the Class
of the given name.
Loads the class of the given name which by default uses the class loader used
to load this library.
The locale specified to our Constructor, by default - system locale.
Contains LocaleBeanUtilsBean
instances indexed by context classloader.
Utility methods for populating JavaBeans properties
via reflection in a locale-dependent manner.
Utility methods for populating JavaBeans properties
via reflection in a locale-dependent manner.
Construct instance with standard conversion bean
Construct instance that uses given locale conversion
Construct instance that uses given locale conversion
General purpose locale-sensitive data type converter that can be registered and used
within the BeanUtils package to manage the conversion of objects from
one type to another.
Convertor used by this class
Utility methods for converting locale-sensitive String scalar values to objects of the
specified Class, String arrays to arrays of the specified Class and
object to locale-sensitive String scalar value.
Utility methods for converting locale-sensitive String scalar values to objects of the
specified Class, String arrays to arrays of the specified Class and
object to locale-sensitive String scalar value.
Makes the state by default (deregisters all converters for all locales)
and then registers default locale converters.
The flag indicating whether the given pattern string is localized or not.
Logging for this instance.
All logging goes through this logger
Logging for this instance
The Log
instance for this class.
All logging goes through this logger
All logging goes through this logger
All logging goes through this logger
The Log
instance for this class.
All logging goes through this logger
Accessor method for Log instance.
Log the DateFormat
creation.
Only log warning about accessibility work around once.
Logs the given exception to System.out
.
Logs the given exception to System.err
.
Standard
Converter
implementation that converts an incoming
String into a primitive array of long.
Create a
Converter
that will return
the specified default value if a conversion error occurs.
NumberConverter
implementation that handles conversion to
and from
java.lang.Long objects.
Construct a java.lang.Long Converter that throws
a ConversionException
if an error occurs.
Construct a java.lang.Long Converter that returns
a default value if an error occurs.
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a
java.lang.Long
object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Look up and return any registered
Converter
for the specified
destination class; if there is no registered Converter, return
null
.
Look up and return any registered
Converter
for the specified
destination class; if there is no registered Converter, return
null
.
Look up and return any registered
Converter
for the specified
source and destination class; if there is no registered Converter,
return
null
.
Look up and return any registered
Converter
for the specified
source and destination class; if there is no registered Converter,
return
null
.
Look up and return any registered
LocaleConverter
for the specified
destination class and locale; if there is no registered Converter, return
null
.
Look up and return any registered
LocaleConverter
for the specified
destination class and locale; if there is no registered Converter, return
null
.
Look up and return any registered FastHashMap instance for the specified locale.
Look up and return any registered FastHashMap instance for the specified locale;
if there is no registered one, return null
.
Flag defining whether column names should be lower cased when
converted to property names.
Parse a String date value using the set of patterns.
Parse a String into a Calendar
object
using the specified DateFormat
.
Convert a String into a Number
object.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of
BigDecimal type.
Convert the specified locale-sensitive input object into an output object of
BigInteger type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output
object of the specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Convert the specified locale-sensitive input object into an output object of the
specified type.
Parse an incoming String of the form similar to an array initializer
in the Java language into a List
individual Strings
for each element, according to the following rules.
Parse an incoming String of the form similar to an array initializer
in the Java language into a List
individual Strings
for each element, according to the following rules.
The default pattern specified to our Constructor, if any.
Returns the top item off of this stack without removing it.
Returns the n'th item down (zero-relative) from the top of this
stack without removing it.
Pops the top item off of this stack and return it.
Populate the JavaBeans properties of the specified bean, based on
the specified name/value pairs.
Populate the JavaBeans properties of the specified bean, based on
the specified name/value pairs.
Predicate
to be applied to the property value
Change primitve Class types to the associated wrapper class.
The set of dynamic properties that are part of this DynaClass.
The set of dynamic properties that are part of this
DynaClass
.
The set of dynamic properties that are part of this DynaClass.
The set of dynamic properties that are part of this DynaClass,
keyed by the property name.
The set of dynamic properties that are part of this
DynaClass
, keyed by the property name.
The set of dynamic properties that are part of this DynaClass,
keyed by the property name.
Name of the property whose value will be predicated
The name of the property which will be updated when this Closure
executes.
The name of the property which will be evaluated when this Predicate
is executed.
The name of the property that will be used in the transformation of the object.
Utility methods for using Java Reflection APIs to facilitate generic
property getter and setter operations on Java objects.
Used to access properties
Utility methods for using Java Reflection APIs to facilitate generic
property getter and setter operations on Java objects.
The value that the property specified by propertyName
will be updated to when this Closure
executes.
The value that the property specified by propertyName
will be compared to when this Predicate
executes.
Pushes a new item onto the top of this stack.
Sets the bean property with the given name to the given value.
Set the value for the specified property in
the decorated
DynaBean
.
Associate the specified value with the specified key in this map.
Copy the contents of a Map to the decorated
DynaBean
.
Copy all of the mappings from the specified map to this one, replacing
any mappings with the same keys.
Puts all of the writable properties from the given BeanMap into this
BeanMap.
Returns the one-based position of the distance from the top that the
specified object exists on this stack, where the top-most element is
considered to be at distance 1
.
Ensure serialization compatibility
Set the element at the specified position.
Sets the value - a value is provided per (thread) context classloader.
Set the value of an indexed property with the specified name.
Set the value of an indexed property with the specified name.
Set the value of an indexed property with the specified name.
Set the value of an indexed property with the specified name.
Set the value of an indexed property with the specified name.
Set the value of a simple property with the specified name.
Set the value of the property with the specified name
performing any type conversions if necessary.
Set the value of a simple property with the specified name.
Set the value of a simple property with the specified name.
Set the value of a simple property with the specified name.
Set the value of a simple property with the specified name.
Set the value of a simple property with the specified name.
Set the value of a mapped property with the specified name.
Set the value of a mapped property with the specified name.
Set the value of a mapped property with the specified name.
Set the value of a mapped property with the specified name.
Set the value of a mapped property with the specified name.
Set the allowed characters to be used for parsing a delimited String.
Sets whether the pattern is localized or not.
Sets whether the pattern is applied localized
(Indicate whether the pattern is localized or not)
setter for applyLocalized
Sets the bean to be operated on by this map.
The debug
static property is no longer used
The debug
static property is no longer used
Sets the default value for Boolean conversions.
Sets the default value for Boolean conversions.
Sets the default value for Byte conversions.
Sets the default value for Byte conversions.
Sets the default value for Character conversions.
Sets the default value for Character conversions.
Sets the default value for Double conversions.
Sets the default value for Double conversions.
Sets the default value for Float conversions.
Sets the default value for Float conversions.
Sets the default value for Integer conversions.
Sets the default value for Integer conversions.
Sets the locale used when no locale is passed.
Sets the Locale
which will be used when
no Locale
is passed to a method.
setter for defaultLocale.
Sets the default value for Long conversions.
Sets the default value for Long conversions.
Sets the default value for Short conversions.
Sets the default value for Short conversions.
Set the default value, converting as required.
Set the delimiter to be used for parsing a delimited String.
Set the Class object we will use to create new instances in the
newInstance()
method.
Set the element Type and DynaClass.
Set the element Type and DynaClass.
Sets whether this map is operating in fast mode.
Set the indexed property index.
Set the indexed property index.
Sets the value of the specified indexed property of the specified
bean, with no type conversions.
Set the value of the specified indexed property of the specified
bean, with no type conversions.
Sets the value of the specified indexed property of the specified
bean, with no type conversions.
Set the value of the specified indexed property of the specified
bean, with no type conversions.
Sets the instance which provides the functionality for
BeanUtils
.
Set the mapped property key.
Set the mapped property key.
Specify whether or not date-time parsing should be lenient.
Set the Locale for the Converter.
Set the Locale for the Converter.
Set the Map backing this DynaBean
Sets the value of the specified mapped property of the
specified bean, with no type conversions.
Set the value of the specified mapped property of the
specified bean, with no type conversions.
Sets the value of the specified mapped property of the specified
bean, with no type conversions.
Set the value of the specified mapped property of the specified
bean, with no type conversions.
Sets the method that should be used to read one of the property value.
Sets the method that should be used to write the property value.
Set the property name (includes indexed/mapped expr).
Set the property name (includes indexed/mapped expr).
Sets the value of the (possibly nested) property of the specified
name, for the specified bean, with no type conversions.
Set the value of the (possibly nested) property of the specified
name, for the specified bean, with no type conversions.
Indicates whether converting to a String should create
a delimited list or just convert the first value.
Set a date format pattern to use to convert
dates to/from a java.lang.String
.
Set a number format pattern to use to convert
Numbers to/from a java.lang.String
.
Set the date format patterns to use to convert
dates to/from a java.lang.String
.
Sets the
Predicate
to be applied to the value of the named property
during
evaluate(Object)
.
Set the list of dynamic properties supported by this DynaClass.
Set the specified property value, performing type conversions as
required to conform to the type of the destination property.
Set the specified property value, performing type conversions as
required to conform to the type of the destination property.
Set the specified locale-sensitive property value, performing type
conversions as required to conform to the type of the destination property
using the default conversion pattern of the corresponding
LocaleConverter
.
Set the specified locale-sensitive property value, performing type
conversions as required to conform to the type of the destination property
using the default conversion pattern of the corresponding
LocaleConverter
.
Set the value of the specified property of the specified bean,
no matter which property reference format is used, with no
type conversions.
Set the value of the specified property of the specified bean,
no matter which property reference format is used, with no
type conversions.
Set the specified locale-sensitive property value, performing type
conversions as required to conform to the type of the destination
property using the specified conversion pattern.
Set the specified locale-sensitive property value, performing type
conversions as required to conform to the type of the destination
property using the specified conversion pattern.
Sets the method to be called to compare two JavaBeans
Sets the name of the property whose value is to be predicated.
This method is called by method setNestedProperty when the current bean
is found to be a Map object, and defines how to deal with setting
a property on a Map.
Configure the
Resolver
implementation used by BeanUtils.
Set whether this DynaClass is currently restricted.
Set whether this DynaClass is currently restricted.
Set the restricted state of this DynaClass to the specified value.
Set whether this DynaClass should return a null
from
the getDynaProperty(name)
method if the property
doesn't exist.
Set whether this DynaClass should return a null
from
the getDynaProperty(name)
method if the property
doesn't exist.
Set the value of the specified simple property of the specified bean,
with no type conversions.
Set the value of the specified simple property of the specified bean,
with no type conversions.
Set the Time Zone to use when converting dates.
Indicate whether conversion should use a format/pattern or not.
Set whether a format should be used to convert
the Number.
Standard
Converter
implementation that converts an incoming
String into a primitive array of short.
Create a
Converter
that will return
the specified default value if a conversion error occurs.
NumberConverter
implementation that handles conversion to
and from
java.lang.Short objects.
Construct a java.lang.Short Converter that throws
a ConversionException
if an error occurs.
Construct a java.lang.Short Converter that returns
a default value if an error occurs.
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a
java.lang.Short
object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Returns the number of properties defined by the bean.
Returns the number properties in the decorated
DynaBean
.
Return the number of key-value mappings in this map.
Return the size of an indexed or mapped property.
DateTimeConverter
implementation that handles conversion to
and from
java.sql.Date objects.
Construct a java.sql.Date Converter that throws
a ConversionException
if an error occurs.
Construct a java.sql.Date Converter that returns
a default value if an error occurs.
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a
java.sql.Date
object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
DateTimeConverter
implementation that handles conversion to
and from
java.sql.Time objects.
Construct a java.sql.Time Converter that throws
a ConversionException
if an error occurs.
Construct a java.sql.Time Converter that returns
a default value if an error occurs.
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a
java.sql.Time
object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
DateTimeConverter
implementation that handles conversion to
and from
java.sql.Timestamp objects.
Construct a java.sql.Timestamp Converter that throws
a ConversionException
if an error occurs.
Construct a java.sql.Timestamp Converter that returns
a default value if an error occurs.
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive String into a
java.sql.Timestamp
object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
The parameter types array for the reader method signature.
Standard
Converter
implementation that converts an incoming
String into an array of String objects.
Create a
Converter
that will return
the specified default value if a conversion error occurs.
Converter
implementation that converts an incoming
object into a
java.lang.String
object.
Construct a java.lang.String Converter that throws
a ConversionException
if an error occurs.
Construct a java.lang.String Converter that returns
a default value if an error occurs.
Standard
LocaleConverter
implementation that converts an incoming
locale-sensitive object into a
java.lang.String
object,
optionally using a default value or throwing a
ConversionException
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Create a
LocaleConverter
that will return the specified default value
if a conversion error occurs.
Model object for string arrays.