code: public boolean getFeature(String name)
            throws SAXNotRecognizedException, SAXNotSupportedException
    {
  
      if ("http://xml.org/trax/features/sax/input".equals(name))
        return true;
      else if ("http://xml.org/trax/features/dom/input".equals(name))
        return true;
  
      throw new SAXNotRecognizedException(name);
    }
docs: Look up the value of a feature.
  
  <p>The feature name is any fully-qualified URI.  It is
  possible for an TransformerFactory to recognize a feature name but
  to be unable to return its value; this is especially true
  in the case of an adapter for a SAX1 Parser, which has
  no way of knowing whether the underlying parser is
  validating, for example.</p>
  
  <h3>Open issues:</h3>
  <dl>
  <dt><h4>Should getFeature be changed to hasFeature?</h4></dt>
  <dd>Keith Visco writes: Should getFeature be changed to hasFeature?
  It returns a boolean which indicated whether the "state"
  of feature is "true or false". I assume this means whether
  or not a feature is supported? I know SAX is using "getFeature",
  but to me "hasFeature" is cleaner.</dd>
  </dl>
  
  @param name The feature name, which is a fully-qualified
  URI.
  @return The current state of the feature (true or false).
  @throws org.xml.sax.SAXNotRecognizedException When the
  TransformerFactory does not recognize the feature name.
  @throws org.xml.sax.SAXNotSupportedException When the
  TransformerFactory recognizes the feature name but
  cannot determine its value at this time.
  
  @throws SAXNotRecognizedException
  @throws SAXNotSupportedException