public boolean removeChildren ( final Collection < AbstractHtml > children ) { final Lock lock = sharedObject . getLock ( ACCESS_OBJECT ) . writeLock ( ) ; boolean result = false ; try { lock . lock ( ) ; result = this . children . removeAll ( children ) ; } finally { lock . unlock ( ) ; } final PushQueue pushQueue = sharedObject . getPushQueue ( ACCESS_OBJECT ) ; if ( pushQueue != null ) { pushQueue . push ( ) ; } return result ; }
Removes the given tags from its children tags .