public AbstractHtml [ ] getChildrenAsArray ( ) { final Lock lock = sharedObject . getLock ( ACCESS_OBJECT ) . readLock ( ) ; try { lock . lock ( ) ; return children . toArray ( new AbstractHtml [ children . size ( ) ] ) ; } finally { lock . unlock ( ) ; } }
Gets the children of this tag as an array . An efficient way to get the children as an array .