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
Class XWorkListPropertyAccessor

    java.lang.Object
      ognl.ObjectPropertyAccessor
          ognl.ListPropertyAccessor
              com.opensymphony.xwork2.util.XWorkListPropertyAccessor

All Implemented Interfaces:
  ognl.PropertyAccessor

    public class XWorkListPropertyAccessor

extends ognl.ListPropertyAccessor

Overrides the list property accessor so in the case of trying to add properties of a given bean and the JavaBean is not present, this class will create the necessary blank JavaBeans.

Author:
  Gabriel Zimmerman

Field Summary
`private XWorkCollectionPropertyAccessor` | `_sAcc`

Constructor Summary
`XWorkListPropertyAccessor()`

Method Summary
`Object` | `getProperty(Map context, Object target, Object name)`
`private Object` | `getRealValue(Map context, Object value, Class convertToClass)`
`void` | `setProperty(Map context, Object target, Object name, Object value)`

Methods inherited from class ognl.ObjectPropertyAccessor
`getPossibleProperty, hasGetProperty, hasGetProperty, hasSetProperty, hasSetProperty, setPossibleProperty`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### _sAcc

    private XWorkCollectionPropertyAccessor _sAcc

Constructor Detail

### XWorkListPropertyAccessor

    public XWorkListPropertyAccessor()

Method Detail

### getProperty

    public Object getProperty(Map context,
                              Object target,
                              Object name)
                       throws ognl.OgnlException

  Specified by:
    `getProperty` in interface `ognl.PropertyAccessor`
  Overrides:
    `getProperty` in class `ognl.ListPropertyAccessor`
  Throws:
    `ognl.OgnlException`

### setProperty

    public void setProperty(Map context,
                            Object target,
                            Object name,
                            Object value)
                     throws ognl.OgnlException

  Specified by:
    `setProperty` in interface `ognl.PropertyAccessor`
  Overrides:
    `setProperty` in class `ognl.ListPropertyAccessor`
  Throws:
    `ognl.OgnlException`

### getRealValue

    private Object getRealValue(Map context,
                                Object value,
                                Class convertToClass)

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 © 2007 OpenSymphony. All Rights Reserved.