Class AbstractListMediator

    • Constructor Detail

      • AbstractListMediator

        public AbstractListMediator()
    • Method Detail

      • getChild

        public Mediator getChild​(int pos)
        Description copied from interface: ListMediator
        Get the child from the position
        Specified by:
        getChild in interface ListMediator
        Parameters:
        pos - position of the child
        Returns:
        mediator of this position. If the position invalid null will be returned
      • removeChild

        public Mediator removeChild​(int pos)
        Description copied from interface: ListMediator
        Remove a child from this position
        Specified by:
        removeChild in interface ListMediator
        Parameters:
        pos - position of the child
        Returns:
        mediator that is removed
      • removeChild

        public boolean removeChild​(Mediator mediator)
        Description copied from interface: ListMediator
        Remove this child
        Specified by:
        removeChild in interface ListMediator
        Parameters:
        mediator - mediator to be removed
        Returns:
        true if the remove successful
      • addChild

        public void addChild​(Mediator mediator)
        Description copied from interface: ListMediator
        Add the child to this mediator
        Specified by:
        addChild in interface ListMediator
        Parameters:
        mediator - child mediator to be added
      • serializeChildren

        protected void serializeChildren​(org.apache.axiom.om.OMElement parent,
                                         List<Mediator> list)
      • addChildren

        protected void addChildren​(org.apache.axiom.om.OMElement el,
                                   ListMediator m)