Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.util
Interface ObjectTypeDeterminer

All Known Implementing Classes:
  DefaultObjectTypeDeterminer, GenericsObjectTypeDeterminer, 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.

Author:
  Gabriel Zimmerman

Method Summary
`Class` | `getElementClass(Class parentClass, String property, Object key)`
`Class` | `getKeyClass(Class parentClass, String property)`
`String` | `getKeyProperty(Class parentClass, String property)`
`boolean` | `shouldCreateIfNew(Class parentClass, String property, Object target, String keyProperty, boolean isIndexAccessed)`

Method Detail

### getKeyClass

    Class getKeyClass(Class parentClass,
                      String property)

### getElementClass

    Class getElementClass(Class parentClass,
                          String property,
                          Object key)

### getKeyProperty

    String getKeyProperty(Class parentClass,
                          String property)

### shouldCreateIfNew

    boolean shouldCreateIfNew(Class parentClass,
                              String property,
                              Object target,
                              String keyProperty,
                              boolean isIndexAccessed)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.