org.apache.myfaces.test.el
Class ReservedWordsELResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by org.apache.myfaces.test.el.ReservedWordsELResolver

public class ReservedWordsELResolver
extends javax.el.ELResolver

ELResolver for reserved words.


Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
ReservedWordsELResolver()
           
 
Method Summary
protected  FeatureDescriptor descriptor(String name, String displayName, String description, boolean expert, boolean hidden, boolean preferred, Object type, boolean designTime)
          Create and return a FeatureDescriptor configured with the specified arguments.
 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
 

Constructor Detail

ReservedWordsELResolver

public ReservedWordsELResolver()
Method Detail

getValue

public Object getValue(javax.el.ELContext context,
                       Object base,
                       Object property)
Specified by:
getValue 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

setValue

public void setValue(javax.el.ELContext context,
                     Object base,
                     Object property,
                     Object value)
Specified by:
setValue 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

getFeatureDescriptors

public Iterator<FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context,
                                                         Object base)
Specified by:
getFeatureDescriptors in class javax.el.ELResolver

getCommonPropertyType

public Class<?> getCommonPropertyType(javax.el.ELContext context,
                                      Object base)
Specified by:
getCommonPropertyType in class javax.el.ELResolver

descriptor

protected FeatureDescriptor descriptor(String name,
                                       String displayName,
                                       String description,
                                       boolean expert,
                                       boolean hidden,
                                       boolean preferred,
                                       Object type,
                                       boolean designTime)

Create and return a FeatureDescriptor configured with the specified arguments.

Parameters:
name - Feature name
displayName - Display name
description - Short description
expert - Flag indicating this feature is for experts
hidden - Flag indicating this feature should be hidden
preferred - Flag indicating this feature is the preferred one among features of the same type
type - Runtime type of this feature
designTime - Flag indicating feature is resolvable at design time


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.