protected boolean addAllToAttributeValueMap(final Map<String, String> map) {

        if (map != null && map.size() > 0) {

            final Collection<AbstractHtml5SharedObject> sharedObjects = getSharedObjects();
            boolean listenerInvoked = false;

            final Collection<WriteLock> writeLocks = lockAndGetWriteLocks();
            try {

                getAttributeValueMap().putAll(map);

                setModified(true);

                invokeValueChangeListeners(sharedObjects);
                listenerInvoked = true;

            } finally {
                for (final Lock lock : writeLocks) {
                    lock.unlock();
                }
            }
            pushQueues(sharedObjects, listenerInvoked);
            return listenerInvoked;

        }
        return false;
    }
protected boolean addAllToAttributeValueMap(final Map<String, String> map) {

        if (map != null && map.size() > 0) {

            final Collection<AbstractHtml5SharedObject> sharedObjects = getSharedObjects();
            boolean listenerInvoked = false;

            final Collection<WriteLock> writeLocks = lockAndGetWriteLocks();
            try {

                getAttributeValueMap().putAll(map);

                setModified(true);

                invokeValueChangeListeners(sharedObjects);
                listenerInvoked = true;

            } finally {
                for (final Lock lock : writeLocks) {
                    lock.unlock();
                }
            }
            pushQueues(sharedObjects, listenerInvoked);
            return listenerInvoked;

        }
        return false;
    }
protected boolean addAllToAttributeValueMap ( final Map < String , String > map ) { if ( map != null && map . size ( ) > 0 ) { final Collection < AbstractHtml5SharedObject > sharedObjects = getSharedObjects ( ) ; boolean listenerInvoked = false ; final Collection < WriteLock > writeLocks = lockAndGetWriteLocks ( ) ; try { getAttributeValueMap ( ) . putAll ( map ) ; setModified ( true ) ; invokeValueChangeListeners ( sharedObjects ) ; listenerInvoked = true ; } finally { for ( final Lock lock : writeLocks ) { lock . unlock ( ) ; } } pushQueues ( sharedObjects , listenerInvoked ) ; return listenerInvoked ; } return false ; }
adds all to the attribute value map.

@param map
@since 1.0.0
@author WFF
@return true if it is modified
adds all to the attribute value map .