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 |
setOgnlUtil(OgnlUtil util) |
void |
setProperty(Map context,
Object target,
Object name,
Object value) |
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 void setOgnlUtil(OgnlUtil util)
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–2017 Apache Software Foundation. All rights reserved.