Chris Beams
2d68b726b5
Add syntax highlighting to Javadoc where necessary
...
Issue: SPR-8426
14 years ago
Juergen Hoeller
c60511bf04
shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility)
14 years ago
Juergen Hoeller
cd933c7f84
full support for arbitrary nesting of collections in fields (SPR-8394); proper type detection in nested collections within arrays
14 years ago
Juergen Hoeller
d940811d8b
full support for arbitrary nesting of collections in fields (SPR-8394); proper type detection in nested collections within arrays
14 years ago
Keith Donald
15e009f3a0
added utility method to reduce code duplication
14 years ago
Keith Donald
0601f0e520
assignability examples
14 years ago
Keith Donald
1e39b0bbbc
implemented collection/map converter conditional matching checks; updated SpEL to reflect this behavior
14 years ago
Keith Donald
e5d551587a
fixed failing test; initial conditional converter impls for collections, arrays, and maps
14 years ago
Keith Donald
a60cb43c6a
added back element type checks in TypeDescriptor#isAssignable; clarified semantics in javadoc
14 years ago
Keith Donald
5e3a5202fb
restored TypeDescriptor getElementType, getMapKeyType, and getMapValueType compatibility; StringToCollection and Array Converters are now conditional and check targetElementType if present; TypeDesciptor#isAssignable no longer bothers with element type and map key/value types in checking assignability for consistency elsewhere; improved javadoc
14 years ago
Keith Donald
a1a7c32052
string to collection and array converters now are conditional and apply target element type match
14 years ago
Sam Brannen
7307f3d513
Introduced toClassArray(Collection<Class<?>>).
14 years ago
Sam Brannen
5976beca80
polishing
14 years ago
Keith Donald
76283ed321
narrow and elementType/keyValueType tests
14 years ago
Keith Donald
a40f6585b4
added convert(Object, TypeDescriptor) convenience method; collection and map tests
14 years ago
Keith Donald
5f8faa3ae7
improved null handling and javadoc
14 years ago
Keith Donald
cfb387383b
broke out to top-level class for readability
14 years ago
Keith Donald
c09227a712
removed dependency on java.beans
14 years ago
Keith Donald
94d690fb2c
javadoc and polishing
14 years ago
Keith Donald
c306afed63
polishing
14 years ago
Keith Donald
c84cccf06d
revised TypeDescriptor NULL and element/mapKey/mapValue type semantics
14 years ago
Keith Donald
5db1687d29
added TypeDescriptor resolveCollectionElement and Map key/value types
14 years ago
Chris Beams
385d8e9482
Fix system environment tests on all platforms
...
Issue: SPR-8245
14 years ago
Keith Donald
a1b7af5c9c
broke out pkg private classes from TypeDescriptor to improve manageability and testability
14 years ago
Keith Donald
07f985ac91
more tests; several assertions for the programmer
14 years ago
Keith Donald
08180e97f8
javadoc polishing
14 years ago
Keith Donald
a8dbac6d8d
more tests
14 years ago
Keith Donald
0f6d890d97
javadoc
14 years ago
Keith Donald
6f146737f4
simplified TypeDescriptor usage and updated use of the API across BeanWrapper and SpEL; collapsed PropertyTypeDescriptor into TypeDescriptor for simplicity and ease of use; improved docs
14 years ago
Chris Beams
8227cb6243
Introduce ConfigurableConversionService interface
...
Consolidates ConversionService and ConverterRegistry interfaces;
implemented by GenericConversionService.
ConfigurablePropertyResolver#getConversionService now returns this
new type (hence so too does
ConfigurableEnvironment#getConversionService). This allows for
convenient addition / removal of Converter instances from Environment's
existing ConversionService. For example:
ConfigurableApplicationContext ctx = new ...
ConfigurableEnvironment env = ctx.getEnvironment();
env.getConversionService().addConverter(new FooConverter());
Issue: SPR-8389
14 years ago
Chris Beams
6ae04eb7e6
Polish ConfigurablePropertyResolver Javadoc
14 years ago
Chris Beams
0304a4b74d
Revert "Introduce Ordered#NOT_ORDERED"
...
This reverts commit da914bcfb4
and also
removes the use of Ordered#NOT_ORDERED from EnableTransactionManagement
and ProxyTransactionManagementConfiguration in favor of defaulting to
Ordered#LOWEST_PRIORITY, which is actually the default that results
when no 'order' attribute is specified in XML.
14 years ago
Sam Brannen
cf2563bdf5
[SPR-8388] Cleared up confusing documentation regarding PropertyResolver and Environment.
14 years ago
Sam Brannen
919b996027
[SPR-8388] Improved documentation on default registered PropertyEditors; fixed typos and grammar in JavaDoc; suppressed warnings due to generics; etc.
14 years ago
Sam Brannen
13b7f1a31b
fixed typos
14 years ago
Chris Beams
67661693fe
Ignore failing tests on Windows
...
Attempt to access and modify the system environment works on OS X /
Linux but not under Windows. Does not represent any real failure for
production code - the need to modify the system environment is a
testing concern only, and one we can probably live without, considering
the losing battle necessary to make such a hack cross-platform.
Issue: SPR-8245
14 years ago
Chris Beams
14d50e3482
Fix failing system environment tests on Windows
...
Issue: SPR-8245
14 years ago
Chris Beams
0756a6abfe
Polish PropertySource and Environment Javadoc
14 years ago
Keith Donald
f43d0e1003
Revised converter search algorithm to favor super classes before interface hierarchy
14 years ago
Keith Donald
ad93d20a6c
SPR-6749
14 years ago
Keith Donald
47e3f0948d
polish
14 years ago
Keith Donald
01cbfd4f6f
added null binding check for primitives for all conversion results; polishing
14 years ago
Keith Donald
d02e37a307
added new ConverterRegistry operation; polishing
14 years ago
Keith Donald
e25fbf2533
added symmetry to ToString converters: SPR-8306
14 years ago
Sam Brannen
e11d7c328f
Added Eclipse project dependency on org.springframework.asm
14 years ago
Keith Donald
7430fcd904
SPR-8364
14 years ago
Keith Donald
5c67dbf424
revised findCommonElement handling within TypeDescriptor.forObject(Object); we now fully introspect the collection elements to resolve the common type. We also support nested introspection e.g. collections of collections. Object.class is used to indicate no common type, and TypeDescriptor.NULL is used to indicate a null element value
14 years ago
Keith Donald
79f9d1cfc6
moved applyIndexedObject internal, now invoked inside forObject static factory method
14 years ago
Keith Donald
4d6a5849f7
SPR-8364
14 years ago
Chris Beams
4a6101a697
Guard against null in #visitInnerClass
...
Issue: SPR-8358,SPR-8186
14 years ago