Package org.apache.struts2.conversion
Interface ObjectTypeDeterminer
- All Known Implementing Classes:
DefaultObjectTypeDeterminer
,MockObjectTypeDeterminer
public interface ObjectTypeDeterminer
Determines what the key and and element class of a Map or Collection should be. For Maps, the elements are the
values. For Collections, the elements are the elements of the collection.
See the implementations for javadoc description for the methods as they are dependent on the concrete implementation.
- Author:
- Gabriel Zimmerman
-
Method Summary
Modifier and TypeMethodDescriptiongetElementClass
(Class parentClass, String property, Object key) getKeyClass
(Class parentClass, String property) getKeyProperty
(Class parentClass, String property) boolean
shouldCreateIfNew
(Class parentClass, String property, Object target, String keyProperty, boolean isIndexAccessed)
-
Method Details
-
getKeyClass
-
getElementClass
-
getKeyProperty
-
shouldCreateIfNew
-