flags.put(name, new Boolean(value));
flags.put(name, Boolean.valueOf(value));
  public void setFeature(String name, boolean value)     throws ParserConfigurationException, SAXNotRecognizedException,	SAXNotSupportedException    {    try      {	    // force "early" detection of errors where possible	    // (flags can't necessarily be set before parsing)        new JaxpParser().getXMLReader().setFeature(name, value);        flags.put(name, new Boolean(value));      }    catch (SAXNotRecognizedException e)      {        throw new SAXNotRecognizedException(name);      }    catch (SAXNotSupportedException e)      {        throw new SAXNotSupportedException(name);      }    catch (Exception e)      {        throw new ParserConfigurationException(e.getClass().getName()		+ ": "                                               + e.getMessage());	}    }