else if (name.equals("gnu.xml.stream.stringInterning")) stringInterning = ((Boolean) value).booleanValue(); else if (name.equals("gnu.xml.stream.baseAware")) baseAware = ((Boolean) value).booleanValue(); else if (name.equals("gnu.xml.stream.xIncludeAware")) xIncludeAware = ((Boolean) value).booleanValue();
  public void setProperty(String name, Object value)    throws IllegalArgumentException  {    if (name.equals(IS_NAMESPACE_AWARE))      namespaceAware = ((Boolean) value).booleanValue();    else if (name.equals(IS_VALIDATING))      validating = ((Boolean) value).booleanValue();    else if (name.equals(IS_COALESCING))      coalescing = ((Boolean) value).booleanValue();    else if (name.equals(IS_REPLACING_ENTITY_REFERENCES))      replacingEntityReferences = ((Boolean) value).booleanValue();    else if (name.equals(IS_SUPPORTING_EXTERNAL_ENTITIES))      externalEntities = ((Boolean) value).booleanValue();    else if (name.equals(SUPPORT_DTD))      supportDTD = ((Boolean) value).booleanValue();    else if (name.equals(REPORTER))      reporter = (XMLReporter) value;    else if (name.equals(RESOLVER))      resolver = (XMLResolver) value;    else if (name.equals(ALLOCATOR))      allocator = (XMLEventAllocator) value;    else      throw new IllegalArgumentException(name);  }