code: public boolean getFeature (String name)
      throws SAXNotRecognizedException, SAXNotSupportedException
      {
      if (name.equals(NAMESPACES)) {
          return namespaces;
      } else if (name.equals(NAMESPACE_PREFIXES)) {
          return prefixes;
      } else if (name.equals(XMLNS_URIs)) {
          return uris;
      } else {
          throw new SAXNotRecognizedException("Feature: " + name);
      }
      }
docs: Check a parser feature flag.
  
  <p>The only features recognized are namespaces and
  namespace-prefixes.</p>
  
  @param name The feature name, as a complete URI.
  @return The current feature value.
  @exception SAXNotRecognizedException If the feature
  value can't be assigned or retrieved.
  @exception SAXNotSupportedException If the
  feature is not currently readable.
  @see org.xml.sax.XMLReader#setFeature