private void initializeContentModelStacks(){
  if (fOpStack == null) {
    fOpStack=new short[8];
    fGroupIndexStack=new int[8][];
    fGroupIndexStackSizes=new int[8];
  }
 else   if (fDepth == fOpStack.length) {
    short[] newOpStack=new short[fDepth * 2];
    System.arraycopy(fOpStack,0,newOpStack,0,fDepth);
    fOpStack=newOpStack;
    int[][] newGroupIndexStack=new int[fDepth * 2][];
    System.arraycopy(fGroupIndexStack,0,newGroupIndexStack,0,fDepth);
    fGroupIndexStack=newGroupIndexStack;
    int[] newGroupIndexStackLengths=new int[fDepth * 2];
    System.arraycopy(fGroupIndexStackSizes,0,newGroupIndexStackLengths,0,fDepth);
    fGroupIndexStackSizes=newGroupIndexStackLengths;
  }
  fOpStack[fDepth]=-1;
  fGroupIndexStackSizes[fDepth]=0;
}

private void initializeContentModelStacks ( ) { if ( fOpStack == null ) { fOpStack = new short [ 8 ] ; fGroupIndexStack = new int [ 8 ] [ ] ; fGroupIndexStackSizes = new int [ 8 ] ; } else if ( fDepth == fOpStack . length ) { short [ ] newOpStack = new short [ fDepth * 2 ] ; System . arraycopy ( fOpStack , 0 , newOpStack , 0 , fDepth ) ; fOpStack = newOpStack ; int [ ] [ ] newGroupIndexStack = new int [ fDepth * 2 ] [ ] ; System . arraycopy ( fGroupIndexStack , 0 , newGroupIndexStack , 0 , fDepth ) ; fGroupIndexStack = newGroupIndexStack ; int [ ] newGroupIndexStackLengths = new int [ fDepth * 2 ] ; System . arraycopy ( fGroupIndexStackSizes , 0 , newGroupIndexStackLengths , 0 , fDepth ) ; fGroupIndexStackSizes = newGroupIndexStackLengths ; } fOpStack [ fDepth ] = - 1 ; fGroupIndexStackSizes [ fDepth ] = 0 ; }
initialize the stacks which temporarily hold content models .
