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, setPossibleProperty
public 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.PropertyAccessor
getProperty
in class ognl.SetPropertyAccessor
ognl.OgnlException
PropertyAccessor.getProperty(java.util.Map, Object, Object)
public Object getPropertyThroughIteration(Map context, Collection collection, String property, Object key) throws ognl.OgnlException
ognl.OgnlException
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.