Class DataBindingPropertyAccessor

    • Method Detail

      • isCandidateForProperty

        protected boolean isCandidateForProperty(java.lang.reflect.Method method,
                                                 java.lang.Class<?> targetClass)
        Description copied from class: ReflectivePropertyAccessor
        Determine whether the given Method is a candidate for property access on an instance of the given target class.

        The default implementation considers any method as a candidate, even for non-user-declared properties on the Object base class.

        isCandidateForProperty in class ReflectivePropertyAccessor
        method - the Method to evaluate
        targetClass - the concrete target class that is being introspected
      • forReadOnlyAccess

        public static DataBindingPropertyAccessor forReadOnlyAccess()
        Create a new data-binding property accessor for read-only operations.
      • forReadWriteAccess

        public static DataBindingPropertyAccessor forReadWriteAccess()
        Create a new data-binding property accessor for read-write operations.