JavaScript is disabled on your browser.
javax.el

Class BeanELResolver



  • public class BeanELResolver
    extends ELResolver 
    Resolves variables and properties on JavaBeans.
    Since:
    2.1
    • Constructor Summary

      Constructors
      Constructor and Description
      BeanELResolver ()
      New read/write bean resolver.
      BeanELResolver (boolean readOnly)
      New bean resolver with the specified read-only property.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      java.lang.Class getCommonPropertyType (ELContext context, java.lang.Object base)
      Returns the most general class of properties in the base object.
      java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors (ELContext context, java.lang.Object base)
      Returns metadata about the variables or properties within the specified base object.
      java.lang.Class getType (ELContext context, java.lang.Object base, java.lang.Object property)
      Returns the class of the specified property of the base object.
      java.lang.Object getValue (ELContext context, java.lang.Object base, java.lang.Object property)
      Resolves the specified property of the base object.
      boolean isReadOnly (ELContext context, java.lang.Object base, java.lang.Object property)
      Indicates whether the specified property of the base object is read-only.
      void setValue (ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)
      Sets the value of the specified property of the base object.
      • Methods inherited from class java.lang.Object

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

      • BeanELResolver

        public BeanELResolver()
        New read/write bean resolver.
      • BeanELResolver

        public BeanELResolver(boolean readOnly)
        New bean resolver with the specified read-only property.
    • Method Detail

      • getFeatureDescriptors

        public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(ELContext context,
         java.lang.Object base)
        Description copied from class: ELResolver
        Returns metadata about the variables or properties within the specified base object.
        Specified by:
        getFeatureDescriptors in class ELResolver
        Parameters:
        context - the evaluation context
        base - the target of the operation
      • getCommonPropertyType

        public java.lang.Class getCommonPropertyType(ELContext context,
         java.lang.Object base)
        Description copied from class: ELResolver
        Returns the most general class of properties in the base object.
        Specified by:
        getCommonPropertyType in class ELResolver
        Parameters:
        context - the evaluation context
        base - the target of the operation

AltStyle によって変換されたページ (->オリジナル) /