@Override public void internalEntityDecl(String name,XMLString text,XMLString nonNormalizedText,Augmentations augs) throws XNIException {
  int entityIndex=getEntityDeclIndex(name);
  if (entityIndex == -1) {
    entityIndex=createEntityDecl();
    boolean isPE=name.startsWith("%");
    boolean inExternal=(fReadingExternalDTD || fPEDepth > 0);
    XMLEntityDecl entityDecl=new XMLEntityDecl();
    entityDecl.setValues(name,null,null,null,null,text.toString(),isPE,inExternal);
    setEntityDecl(entityIndex,entityDecl);
  }
}

@ Override public void internalEntityDecl ( String name , XMLString text , XMLString nonNormalizedText , Augmentations augs ) throws XNIException { int entityIndex = getEntityDeclIndex ( name ) ; if ( entityIndex == - 1 ) { entityIndex = createEntityDecl ( ) ; boolean isPE = name . startsWith ( "%" ) ; boolean inExternal = ( fReadingExternalDTD || fPEDepth > 0 ) ; XMLEntityDecl entityDecl = new XMLEntityDecl ( ) ; entityDecl . setValues ( name , null , null , null , null , text . toString ( ) , isPE , inExternal ) ; setEntityDecl ( entityIndex , entityDecl ) ; } }
an internal entity declaration .
