|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.el.ELResolver
net.sourceforge.stripes.validation.expression.Jsp21ExpressionExecutor.StripesELResolver
protected static class Jsp21ExpressionExecutor.StripesELResolver
Implementation of the EL interface to resolve variables. Resolves variables by checking two special names ("this" and "actionBean") and then falling back to retrieving property values from the ActionBean passed in to the constructor.
Field Summary |
---|
Fields inherited from class javax.el.ELResolver |
---|
RESOLVABLE_AT_DESIGN_TIME, TYPE |
Method Summary | |
---|---|
Class<?> |
getCommonPropertyType(ELContext elContext,
Object o)
Always returns Object.class. |
Iterator<FeatureDescriptor> |
getFeatureDescriptors(ELContext elContext,
Object o)
Always returns null. |
Class<?> |
getType(ELContext ctx,
Object base,
Object prop)
Does nothing. |
Object |
getValue(ELContext ctx,
Object base,
Object prop)
Attempts to resolve the value as described in the class level javadoc. |
boolean |
isReadOnly(ELContext elContext,
Object o,
Object o1)
Always returns true. |
void |
setValue(ELContext elContext,
Object o,
Object o1,
Object o2)
Does nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Object getValue(ELContext ctx, Object base, Object prop)
getValue
in class ELResolver
ctx
- the ELContext for the expressionbase
- the object on which the property resides (null == root property)prop
- the name of the property being looked for
public Class<?> getType(ELContext ctx, Object base, Object prop)
getType
in class ELResolver
public void setValue(ELContext elContext, Object o, Object o1, Object o2) throws PropertyNotWritableException
setValue
in class ELResolver
PropertyNotWritableException
public boolean isReadOnly(ELContext elContext, Object o, Object o1)
isReadOnly
in class ELResolver
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext elContext, Object o)
getFeatureDescriptors
in class ELResolver
public Class<?> getCommonPropertyType(ELContext elContext, Object o)
getCommonPropertyType
in class ELResolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |