public class OGNLPropertyAccessor extends AbstractAnnotatedAccessor implements PropertyAccessor
Modifier and Type | Field and Description |
---|---|
protected String |
expression |
protected int |
modifiers |
protected String |
name |
protected ognl.OgnlContext |
ognlContext |
protected Object |
parsedExpression |
protected Class |
type |
annotations
copyright
Constructor and Description |
---|
OGNLPropertyAccessor(String name,
Class type,
String expression) |
OGNLPropertyAccessor(String name,
Class type,
String expression,
ognl.OgnlContext ognlContext) |
Modifier and Type | Method and Description |
---|---|
OGNLPropertyAccessor |
configureAnnotation(Annotation annotation) |
Object |
get(Object obj) |
ognl.OgnlContext |
getActualOgnlContext() |
String |
getExpression() |
int |
getModifiers() |
String |
getName() |
ognl.OgnlContext |
getOgnlContext() |
Class |
getType() |
void |
set(Object obj,
Object value) |
void |
setModifiers(int modifiers) |
void |
setOgnlContext(ognl.OgnlContext ognlContext) |
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
protected final String name
protected final Class type
protected final String expression
protected final Object parsedExpression
protected ognl.OgnlContext ognlContext
protected int modifiers
public OGNLPropertyAccessor(String name, Class type, String expression, ognl.OgnlContext ognlContext) throws ognl.OgnlException
ognl.OgnlException
public String getName()
getName
in interface PropertyAccessor
public Class getType()
getType
in interface PropertyAccessor
public int getModifiers()
getModifiers
in interface PropertyAccessor
public void setModifiers(int modifiers)
public ognl.OgnlContext getOgnlContext()
public void setOgnlContext(ognl.OgnlContext ognlContext)
public String getExpression()
public Object get(Object obj)
get
in interface PropertyAccessor
public void set(Object obj, Object value)
set
in interface PropertyAccessor
public ognl.OgnlContext getActualOgnlContext()
public OGNLPropertyAccessor configureAnnotation(Annotation annotation)