code: public static void setCellNestingFactory(CompositeFactory factory)
      {
          if (threadNestingMap==null)
              threadNestingMap= new Hashtable();
          
          if (factory == null)
              threadNestingMap.remove(Thread.currentThread());
          else
              threadNestingMap.put(Thread.currentThread(),factory);
      }
docs: Add cell nesting factory.
  Set the CompositeFactory for this thread. Each new cell in the
  table added by this thread will have a new Composite from this
  factory nested in the Cell.
  @param factory The factory for this Thread. If null clear this
  threads factory.
  @deprecated Use setNestingFactory or setThreadNestingFactory