protected void initializeContentModelStack(){
  if (fOpStack == null) {
    fOpStack=new short[8];
    fNodeIndexStack=new int[8];
    fPrevNodeIndexStack=new int[8];
  }
 else   if (fDepth == fOpStack.length) {
    short[] newStack=new short[fDepth * 2];
    System.arraycopy(fOpStack,0,newStack,0,fDepth);
    fOpStack=newStack;
    int[] newIntStack=new int[fDepth * 2];
    System.arraycopy(fNodeIndexStack,0,newIntStack,0,fDepth);
    fNodeIndexStack=newIntStack;
    newIntStack=new int[fDepth * 2];
    System.arraycopy(fPrevNodeIndexStack,0,newIntStack,0,fDepth);
    fPrevNodeIndexStack=newIntStack;
  }
  fOpStack[fDepth]=-1;
  fNodeIndexStack[fDepth]=-1;
  fPrevNodeIndexStack[fDepth]=-1;
}

protected void initializeContentModelStack ( ) { if ( fOpStack == null ) { fOpStack = new short [ 8 ] ; fNodeIndexStack = new int [ 8 ] ; fPrevNodeIndexStack = new int [ 8 ] ; } else if ( fDepth == fOpStack . length ) { short [ ] newStack = new short [ fDepth * 2 ] ; System . arraycopy ( fOpStack , 0 , newStack , 0 , fDepth ) ; fOpStack = newStack ; int [ ] newIntStack = new int [ fDepth * 2 ] ; System . arraycopy ( fNodeIndexStack , 0 , newIntStack , 0 , fDepth ) ; fNodeIndexStack = newIntStack ; newIntStack = new int [ fDepth * 2 ] ; System . arraycopy ( fPrevNodeIndexStack , 0 , newIntStack , 0 , fDepth ) ; fPrevNodeIndexStack = newIntStack ; } fOpStack [ fDepth ] = - 1 ; fNodeIndexStack [ fDepth ] = - 1 ; fPrevNodeIndexStack [ fDepth ] = - 1 ; }
initialize content model stack .
