protected void addAllToAttributeValueSet(final Collection<String> values) {
        if (values != null) {
            final Collection<AbstractHtml5SharedObject> sharedObjects = getSharedObjects();
            boolean listenerInvoked = false;
            final Collection<WriteLock> writeLocks = lockAndGetWriteLocks();
            try {

                final boolean added = getAttributeValueSet().addAll(values);

                if (added) {
                    setModified(true);

                    invokeValueChangeListeners(sharedObjects);
                    listenerInvoked = true;
                }

            } finally {
                for (final Lock lock : writeLocks) {
                    lock.unlock();
                }
            }
            pushQueues(sharedObjects, listenerInvoked);
        }
    }
protected void addAllToAttributeValueSet(final Collection<String> values) {
        if (values != null) {
            final Collection<AbstractHtml5SharedObject> sharedObjects = getSharedObjects();
            boolean listenerInvoked = false;
            final Collection<WriteLock> writeLocks = lockAndGetWriteLocks();
            try {

                final boolean added = getAttributeValueSet().addAll(values);

                if (added) {
                    setModified(true);

                    invokeValueChangeListeners(sharedObjects);
                    listenerInvoked = true;
                }

            } finally {
                for (final Lock lock : writeLocks) {
                    lock.unlock();
                }
            }
            pushQueues(sharedObjects, listenerInvoked);
        }
    }
protected void addAllToAttributeValueSet ( final Collection < String > values ) { if ( values != null ) { final Collection < AbstractHtml5SharedObject > sharedObjects = getSharedObjects ( ) ; boolean listenerInvoked = false ; final Collection < WriteLock > writeLocks = lockAndGetWriteLocks ( ) ; try { final boolean added = getAttributeValueSet ( ) . addAll ( values ) ; if ( added ) { setModified ( true ) ; invokeValueChangeListeners ( sharedObjects ) ; listenerInvoked = true ; } } finally { for ( final Lock lock : writeLocks ) { lock . unlock ( ) ; } } pushQueues ( sharedObjects , listenerInvoked ) ; } }
adds all to the attribute value set.

@param values
@since 1.0.0
@author WFF
adds all to the attribute value set .