public boolean isEntityUnparsed(String name) {
   if (fEntities != null) {
     EntityDeclaration entityDecl = (EntityDeclaration) fEntities.get(name);
     // If the entity is associated with a notation then it must be an unparsed entity.
     if (entityDecl != null) {
       return (entityDecl.getNotationName() != null);
     }
   }
   return false;
 }
 /** Copies entity declarations into a hash map. */
 final void processEntityDeclarations(List entityDecls) {
   int size = (entityDecls != null) ? entityDecls.size() : 0;
   if (size > 0) {
     if (fEntities == null) {
       fEntities = new HashMap();
     }
     for (int i = 0; i < size; ++i) {
       EntityDeclaration decl = (EntityDeclaration) entityDecls.get(i);
       fEntities.put(decl.getName(), decl);
     }
   }
 }