wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java
public void addAttributes(final boolean updateClient,
            final AbstractAttribute... attributes) {

        boolean listenerInvoked = false;
        final Lock lock = sharedObject.getLock(ACCESS_OBJECT).writeLock();
        try {
            lock.lock();
            listenerInvoked = addAttributesLockless(updateClient, attributes);
        } finally {
            lock.unlock();
        }

        if (listenerInvoked) {
            final PushQueue pushQueue = sharedObject
                    .getPushQueue(ACCESS_OBJECT);
            if (pushQueue != null) {
                pushQueue.push();
            }
        }

    }
public void addAttributes(final boolean updateClient,
            final AbstractAttribute... attributes) {

        boolean listenerInvoked = false;
        final Lock lock = sharedObject.getLock(ACCESS_OBJECT).writeLock();
        try {
            lock.lock();
            listenerInvoked = addAttributesLockless(updateClient, attributes);
        } finally {
            lock.unlock();
        }

        if (listenerInvoked) {
            final PushQueue pushQueue = sharedObject
                    .getPushQueue(ACCESS_OBJECT);
            if (pushQueue != null) {
                pushQueue.push();
            }
        }

    }
adds the given attributes to this tag.

@param updateClient
true to update client browser page if it is
available. The default value is true but it will
be ignored if there is no client browser page.
@param attributes
attributes to add
@since 2.0.0 initial implementation
@since 2.0.15 changed to public scope
@author WFF