if ("gnu.xml.stream.stringInterning".equals(name)) return stringInterning ? Boolean.TRUE : Boolean.FALSE; if ("gnu.xml.stream.xmlBase".equals(name)) return baseAware ? Boolean.TRUE : Boolean.FALSE; if ("gnu.xml.stream.baseURI".equals(name)) return getXMLBase();
  public Object getProperty(String name)    throws IllegalArgumentException  {    if (name == null)      throw new IllegalArgumentException("name is null");    if (XMLInputFactory.ALLOCATOR.equals(name))      return null;    if (XMLInputFactory.IS_COALESCING.equals(name))      return coalescing ? Boolean.TRUE : Boolean.FALSE;    if (XMLInputFactory.IS_NAMESPACE_AWARE.equals(name))      return namespaceAware ? Boolean.TRUE : Boolean.FALSE;    if (XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES.equals(name))      return replaceERefs ? Boolean.TRUE : Boolean.FALSE;    if (XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES.equals(name))      return externalEntities ? Boolean.TRUE : Boolean.FALSE;    if (XMLInputFactory.IS_VALIDATING.equals(name))      return Boolean.FALSE;    if (XMLInputFactory.REPORTER.equals(name))      return reporter;    if (XMLInputFactory.RESOLVER.equals(name))      return resolver;    if (XMLInputFactory.SUPPORT_DTD.equals(name))      return supportDTD ? Boolean.TRUE : Boolean.FALSE;    // TODO stringInterning    return null;  }