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 |
annotationscopyright| 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, isAnnotationPresentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresentprotected 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.OgnlExceptionpublic String getName()
getName in interface PropertyAccessorpublic Class getType()
getType in interface PropertyAccessorpublic int getModifiers()
getModifiers in interface PropertyAccessorpublic 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 PropertyAccessorpublic void set(Object obj, Object value)
set in interface PropertyAccessorpublic ognl.OgnlContext getActualOgnlContext()
public OGNLPropertyAccessor configureAnnotation(Annotation annotation)