Class AbstractHtml5SharedObject

  • All Implemented Interfaces:
    java.io.Serializable


    public class AbstractHtml5SharedObject
    extends java.lang.Object
    implements java.io.Serializable
    Since:
    1.0.0
    See Also:
    Serialized Form
    • Constructor Detail

      • AbstractHtml5SharedObject

        public AbstractHtml5SharedObject​(AbstractHtml rootTag)
    • Method Detail

      • getNewDataWffId

        public DataWffId getNewDataWffId​(java.lang.Object accessObject)
        Returns:
        unique data-wff-id attribute
        Since:
        2.0.0
      • getLastDataWffId

        public int getLastDataWffId​(java.lang.Object accessObject)
      • isChildModified

        public boolean isChildModified​()
        Returns:
        the childModified true if any of the children has been modified
        Since:
        1.0.0
      • setChildModified

        public void setChildModified​(boolean childModified)
        set true if any of the children has been modified.
        NB:- it's for internal use
        Parameters:
        childModified - the childModified to set
        Since:
        1.0.0
      • getRebuiltTags

        @Deprecated
        public java.util.Set<AbstractTagBase> getRebuiltTags​(java.lang.Object accessObject)
        Deprecated. only for internal use currently it's not used anywhere. Needs to remove this method later.
        gets the set containing the objects which are rebuilt after modified by its AbstractTagBase method. NB:- only for internal use. currently it's not used anywhere
        Returns:
        the rebuiltTags
        Since:
        1.0.0
      • getChildTagAppendListener

        public ChildTagAppendListener getChildTagAppendListener​(java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Returns:
        the childTagAppendListener
      • setChildTagAppendListener

        public void setChildTagAppendListener​(ChildTagAppendListener childTagAppendListener,
                                              java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Parameters:
        childTagAppendListener - the childTagAppendListener to set
      • getChildTagRemoveListener

        public ChildTagRemoveListener getChildTagRemoveListener​(java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Returns:
        the childTagRemoveListener
      • setChildTagRemoveListener

        public void setChildTagRemoveListener​(ChildTagRemoveListener childTagRemoveListener,
                                              java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Parameters:
        childTagRemoveListener - the childTagRemoveListener to set
      • getAttributeAddListener

        public AttributeAddListener getAttributeAddListener​(java.lang.Object accessObject)
        Returns:
        the attributeAddListener
      • setAttributeAddListener

        public void setAttributeAddListener​(AttributeAddListener attributeAddListener,
                                            java.lang.Object accessObject)
        Parameters:
        attributeAddListener - the attributeAddListener to set
      • getAttributeRemoveListener

        public AttributeRemoveListener getAttributeRemoveListener​(java.lang.Object accessObject)
        Returns:
        the attributeRemoveListener
      • setAttributeRemoveListener

        public void setAttributeRemoveListener​(AttributeRemoveListener attributeRemoveListener,
                                               java.lang.Object accessObject)
        Parameters:
        attributeRemoveListener - the attributeRemoveListener to set
      • getInnerHtmlAddListener

        public InnerHtmlAddListener getInnerHtmlAddListener​(java.lang.Object accessObject)
        Returns:
        the innerHtmlAddListener
      • setInnerHtmlAddListener

        public void setInnerHtmlAddListener​(InnerHtmlAddListener innerHtmlAddListener,
                                            java.lang.Object accessObject)
        Parameters:
        innerHtmlAddListener - the innerHtmlAddListener to set
      • getTagByWffId

        public java.util.Map<java.lang.String,AbstractHtml> getTagByWffId​(java.lang.Object accessObject)
        Parameters:
        accessObject -
        Returns:
        the map containing wffid and tag
        Since:
        2.0.0
      • initTagByWffId

        public java.util.Map<java.lang.String,AbstractHtml> initTagByWffId​(java.lang.Object accessObject)
        Parameters:
        accessObject -
        Returns:
        the map containing wffid and tag
        Since:
        2.0.0
      • getValueChangeListener

        public AttributeValueChangeListener getValueChangeListener​(java.lang.Object accessObject)
        NB:- This listener is used for internal purpose and should not be consumed. Instead, use addValueChangeListener and getValueChangeListeners methods.
        Parameters:
        caller - object of this method
        Returns:
        the valueChangeListener
      • setValueChangeListener

        public void setValueChangeListener​(AttributeValueChangeListener valueChangeListener,
                                           java.lang.Object accessObject)
        NB:- This listener is used for internal purpose and should not be consumed. Instead, use addValueChangeListener and getValueChangeListeners methods.
        Parameters:
        valueChangeListener - the valueChangeListener to set
        caller - object of this method
      • getInsertBeforeListener

        public InsertBeforeListener getInsertBeforeListener​(java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Returns:
        the insertBeforeListener
        Since:
        2.1.1
      • setInsertBeforeListener

        public void setInsertBeforeListener​(InsertBeforeListener insertBeforeListener,
                                            java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Parameters:
        insertBeforeListener - the insertBeforeListener to set
        Since:
        2.1.1
      • setWffBMDataDeleteListener

        public void setWffBMDataDeleteListener​(WffBMDataDeleteListener wffBMDataDeleteListener,
                                               java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Parameters:
        wffBMDataDeleteListener - the wffDataDeleteListener to set
        Since:
        2.1.8
      • setWffBMDataUpdateListener

        public void setWffBMDataUpdateListener​(WffBMDataUpdateListener wffBMDataUpdateListener,
                                               java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Parameters:
        wffBMDataUpdateListener - the wffDataUpdateListener to set
        Since:
        2.1.8
      • getWffBMDataDeleteListener

        public WffBMDataDeleteListener getWffBMDataDeleteListener​(java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Returns:
        the insertBeforeListener
        Since:
        2.1.8
      • getWffBMDataUpdateListener

        public WffBMDataUpdateListener getWffBMDataUpdateListener​(java.lang.Object accessObject)
        NB:- This method is for only for internal use
        Returns:
        the insertBeforeListener
        Since:
        2.1.8
      • getRootTag

        public AbstractHtml getRootTag​()
        Returns:
        the rootTag set through the constructor.
        Since:
        2.1.11
      • getSharedData

        public java.lang.Object getSharedData​()
        Gets the object which is accessible in all of this tag hierarchy.
        Returns:
        the sharedData object set by setSharedData method. This object is same across all of this tag hierarchy.
        Since:
        2.1.11
      • setSharedData

        public void setSharedData​(java.lang.Object sharedData)
        Sets the object which will be accessible by getSharedData method in all of this tag hierarchy. setData sets an object for the specific tag but setSharedData sets an object for all of the tag hierarchy.
        Parameters:
        sharedData - the object to access through all of this tag hierarchy.
        Since:
        2.1.11