Interface ScopeListener

    • Method Detail

      • attributeAdded

        void attributeAdded​(Scope scope,
                            java.lang.String name,
                            java.lang.Object value)
        Called when an attribute is going to be added to Scope.
        Parameters:
        scope - the scope where a new attribute is added
        value - the new value.
      • attributeReplaced

        void attributeReplaced​(Scope scope,
                               java.lang.String name,
                               java.lang.Object value)
        Called when an attribute is going to be replaced in Scope.
        Parameters:
        scope - the scope where a new attribute is replaced
        value - the new value.
      • attributeRemoved

        void attributeRemoved​(Scope scope,
                              java.lang.String name)
        Called when an attribute is going to be removed from Scope.
        Parameters:
        scope - the scope where a new attribute is removed
      • parentChanged

        void parentChanged​(Scope scope,
                           Scope newparent)
        Called when the parent has been changed.
        Parameters:
        scope - the scope whose parent is changed
        newparent - the new parent.
      • idSpaceChanged

        void idSpaceChanged​(Scope scope,
                            IdSpace newIdSpace)
        Called when the ID space of this scope has been changed. This method is called only if one of its parent implements IdSpace, such as components and pages.
        Parameters:
        scope - the scope whose ID space is changed
        newIdSpace - the new ID space.
        Since:
        5.0.1