org.apache.shindig.gadgets.templates
Class TemplateELResolver
java.lang.Object
javax.el.ELResolver
org.apache.shindig.gadgets.templates.TemplateELResolver
public class TemplateELResolver
- extends javax.el.ELResolver
ELResolver used to process OpenSocial templates. Provides three variables:
- "Top": Global values
- "Cur": Current template variable
- "Context": Miscellaneous contextual information
| Fields inherited from class javax.el.ELResolver |
RESOLVABLE_AT_DESIGN_TIME, TYPE |
|
Method Summary |
Class<?> |
getCommonPropertyType(javax.el.ELContext context,
Object base)
|
Iterator<FeatureDescriptor> |
getFeatureDescriptors(javax.el.ELContext context,
Object base)
|
Class<?> |
getType(javax.el.ELContext context,
Object base,
Object property)
|
Object |
getValue(javax.el.ELContext context,
Object base,
Object property)
|
boolean |
isReadOnly(javax.el.ELContext context,
Object base,
Object property)
|
void |
setValue(javax.el.ELContext context,
Object base,
Object property,
Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_TOP
public static final String PROPERTY_TOP
- See Also:
- Constant Field Values
PROPERTY_CONTEXT
public static final String PROPERTY_CONTEXT
- See Also:
- Constant Field Values
PROPERTY_CUR
public static final String PROPERTY_CUR
- See Also:
- Constant Field Values
PROPERTY_MY
public static final String PROPERTY_MY
- See Also:
- Constant Field Values
TemplateELResolver
public TemplateELResolver(TemplateContext templateContext)
getCommonPropertyType
public Class<?> getCommonPropertyType(javax.el.ELContext context,
Object base)
- Specified by:
getCommonPropertyType in class javax.el.ELResolver
getFeatureDescriptors
public Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context,
Object base)
- Specified by:
getFeatureDescriptors in class javax.el.ELResolver
getType
public Class<?> getType(javax.el.ELContext context,
Object base,
Object property)
- Specified by:
getType in class javax.el.ELResolver
getValue
public Object getValue(javax.el.ELContext context,
Object base,
Object property)
- Specified by:
getValue in class javax.el.ELResolver
isReadOnly
public boolean isReadOnly(javax.el.ELContext context,
Object base,
Object property)
- Specified by:
isReadOnly in class javax.el.ELResolver
setValue
public void setValue(javax.el.ELContext context,
Object base,
Object property,
Object value)
- Specified by:
setValue in class javax.el.ELResolver
Copyright © 2007-2012. All Rights Reserved.