Class DynamicBeanPropertyELResolver


  • public class DynamicBeanPropertyELResolver
    extends javax.el.ELResolver
    A ELResolver for dynamic bean properties
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String readMethodName  
      protected boolean readOnly  
      protected java.lang.Class<?> subject  
      protected java.lang.String writeMethodName  
      • Fields inherited from class javax.el.ELResolver

        RESOLVABLE_AT_DESIGN_TIME, TYPE
    • Constructor Summary

      Constructors 
      Constructor Description
      DynamicBeanPropertyELResolver​(boolean readOnly, java.lang.Class<?> subject, java.lang.String readMethodName, java.lang.String writeMethodName)  
      DynamicBeanPropertyELResolver​(java.lang.Class<?> subject, java.lang.String readMethodName, java.lang.String writeMethodName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getCommonPropertyType​(javax.el.ELContext context, java.lang.Object base)  
      java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors​(javax.el.ELContext context, java.lang.Object base)  
      java.lang.Class<?> getType​(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)  
      java.lang.Object getValue​(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)  
      boolean isReadOnly​(javax.el.ELContext context, java.lang.Object base, java.lang.Object property)  
      void setValue​(javax.el.ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)  
      • Methods inherited from class javax.el.ELResolver

        invoke
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • subject

        protected java.lang.Class<?> subject
      • readMethodName

        protected java.lang.String readMethodName
      • writeMethodName

        protected java.lang.String writeMethodName
      • readOnly

        protected boolean readOnly
    • Constructor Detail

      • DynamicBeanPropertyELResolver

        public DynamicBeanPropertyELResolver​(boolean readOnly,
                                             java.lang.Class<?> subject,
                                             java.lang.String readMethodName,
                                             java.lang.String writeMethodName)
      • DynamicBeanPropertyELResolver

        public DynamicBeanPropertyELResolver​(java.lang.Class<?> subject,
                                             java.lang.String readMethodName,
                                             java.lang.String writeMethodName)
    • Method Detail

      • getCommonPropertyType

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

        public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors​(javax.el.ELContext context,
                                                                                      java.lang.Object base)
        Specified by:
        getFeatureDescriptors in class javax.el.ELResolver
      • getType

        public java.lang.Class<?> getType​(javax.el.ELContext context,
                                          java.lang.Object base,
                                          java.lang.Object property)
        Specified by:
        getType in class javax.el.ELResolver
      • getValue

        public java.lang.Object getValue​(javax.el.ELContext context,
                                         java.lang.Object base,
                                         java.lang.Object property)
        Specified by:
        getValue in class javax.el.ELResolver
      • isReadOnly

        public boolean isReadOnly​(javax.el.ELContext context,
                                  java.lang.Object base,
                                  java.lang.Object property)
        Specified by:
        isReadOnly in class javax.el.ELResolver
      • setValue

        public void setValue​(javax.el.ELContext context,
                             java.lang.Object base,
                             java.lang.Object property,
                             java.lang.Object value)
        Specified by:
        setValue in class javax.el.ELResolver