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