@Override public void endDTD(Augmentations augs) throws XNIException {
  fIsImmutable=true;
  if (fGrammarDescription.getRootName() == null) {
    int chunk, index=0;
    String currName=null;
    final int size=fElementDeclCount;
    ArrayList elements=new ArrayList(size);
    for (int i=0; i < size; ++i) {
      chunk=i >> CHUNK_SHIFT;
      index=i & CHUNK_MASK;
      currName=fElementDeclName[chunk][index].rawname;
      elements.add(currName);
    }
    fGrammarDescription.setPossibleRoots(elements);
  }
}

@ Override public void endDTD ( Augmentations augs ) throws XNIException { fIsImmutable = true ; if ( fGrammarDescription . getRootName ( ) == null ) { int chunk , index = 0 ; String currName = null ; final int size = fElementDeclCount ; ArrayList elements = new ArrayList ( size ) ; for ( int i = 0 ; i < size ; ++ i ) { chunk = i > > CHUNK_SHIFT ; index = i & CHUNK_MASK ; currName = fElementDeclName [ chunk ] [ index ] . rawname ; elements . add ( currName ) ; } fGrammarDescription . setPossibleRoots ( elements ) ; } }
the end of the dtd .
