Package ognl

Class AbstractMemberAccess

  • All Implemented Interfaces:
    MemberAccess

    public abstract class AbstractMemberAccess
    extends java.lang.Object
    implements MemberAccess
    Used as a based class
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void restore​(OgnlContext context, java.lang.Object target, java.lang.reflect.Member member, java.lang.String propertyName, java.lang.Object state)
      Restores the member from the previous setup call.
      java.lang.Object setup​(OgnlContext context, java.lang.Object target, java.lang.reflect.Member member, java.lang.String propertyName)
      Sets the member up for accessibility
      • Methods inherited from class java.lang.Object

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

      • AbstractMemberAccess

        public AbstractMemberAccess()
    • Method Detail

      • setup

        public java.lang.Object setup​(OgnlContext context,
                                      java.lang.Object target,
                                      java.lang.reflect.Member member,
                                      java.lang.String propertyName)
        Description copied from interface: MemberAccess
        Sets the member up for accessibility
        Specified by:
        setup in interface MemberAccess
        Parameters:
        context - the current execution context.
        target - the Object upon which to perform the setup operation.
        member - the Member upon which to perform the setup operation.
        propertyName - the property upon which to perform the setup operation.
        Returns:
        the Object representing the original accessibility state of the target prior to the setup operation.
      • restore

        public void restore​(OgnlContext context,
                            java.lang.Object target,
                            java.lang.reflect.Member member,
                            java.lang.String propertyName,
                            java.lang.Object state)
        Description copied from interface: MemberAccess
        Restores the member from the previous setup call.
        Specified by:
        restore in interface MemberAccess
        Parameters:
        context - the current execution context.
        target - the Object upon which to perform the setup operation.
        member - the Member upon which to perform the setup operation.
        propertyName - the property upon which to perform the setup operation.
        state - the Object holding the state to restore (target state prior to the setup operation).