public class XWorkCollectionPropertyAccessor
extends ognl.SetPropertyAccessor
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_PROPERTY_FOR_CREATION |
| Constructor and Description |
|---|
XWorkCollectionPropertyAccessor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getProperty(Map context,
Object target,
Object key)
Gets the property of a Collection by indexing the collection
based on a key property.
|
Object |
getPropertyThroughIteration(Map context,
Collection collection,
String property,
Object key) |
void |
setObjectFactory(ObjectFactory fac) |
void |
setObjectTypeDeterminer(ObjectTypeDeterminer ot) |
void |
setProperty(Map arg0,
Object arg1,
Object arg2,
Object arg3) |
void |
setXWorkConverter(XWorkConverter conv) |
getPossibleProperty, getPropertyClass, getSourceAccessor, getSourceSetter, hasGetProperty, hasGetProperty, hasSetProperty, hasSetProperty, setPossiblePropertypublic static final String KEY_PROPERTY_FOR_CREATION
public void setXWorkConverter(XWorkConverter conv)
public void setObjectFactory(ObjectFactory fac)
public void setObjectTypeDeterminer(ObjectTypeDeterminer ot)
public Object getProperty(Map context, Object target, Object key) throws ognl.OgnlException
getProperty in interface ognl.PropertyAccessorgetProperty in class ognl.SetPropertyAccessorognl.OgnlExceptionPropertyAccessor.getProperty(java.util.Map, Object, Object)public Object getPropertyThroughIteration(Map context, Collection collection, String property, Object key) throws ognl.OgnlException
ognl.OgnlExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.