Code example for SAXNotRecognizedException

0
    else if (key.equals("http://xml.org/sax/features/namespace-prefixes"))
      _namespacePrefixes = value ? 1 : 0;
    else if (key.equals("http://xml.org/sax/features/validation"))
      _validation = value ? 1 : 0;
    else 
      throw new SAXNotRecognizedException(key);
  } 
 
  public boolean isNamespacePrefixes() 
  { 
    if (_namespacePrefixes >= 0)
      return _namespacePrefixes == 1;
    else if (_namespaces >= 0)
      return _namespaces == 1;
    else 
      return false; 
  } 
 
  public boolean isNamespaceAware() 
  { 
    if (_namespacePrefixes >= 0)