code: public boolean getFeature(String name) {
    	
      // feature name cannot be null
      if (name == null) 
      {
      	throw new NullPointerException(
              XSLMessages.createMessage(
              XSLTErrorResources.ER_GET_FEATURE_NULL_NAME, null));    
      }
  	  	
      // Try first with identity comparison, which 
      // will be faster.
      if ((DOMResult.FEATURE == name) || (DOMSource.FEATURE == name)
              || (SAXResult.FEATURE == name) || (SAXSource.FEATURE == name)
              || (StreamResult.FEATURE == name)
              || (StreamSource.FEATURE == name)
              || (SAXTransformerFactory.FEATURE == name)
              || (SAXTransformerFactory.FEATURE_XMLFILTER == name))
        return true;
      else if ((DOMResult.FEATURE.equals(name))
               || (DOMSource.FEATURE.equals(name))
               || (SAXResult.FEATURE.equals(name))
               || (SAXSource.FEATURE.equals(name))
               || (StreamResult.FEATURE.equals(name))
               || (StreamSource.FEATURE.equals(name))
               || (SAXTransformerFactory.FEATURE.equals(name))
               || (SAXTransformerFactory.FEATURE_XMLFILTER.equals(name)))
        return true;	      
      // secure processing?
      else if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING))
        return m_isSecureProcessing;
      else      
        // unknown feature
        return false;
    }
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>
  
  @param name The feature name, which is a fully-qualified URI.
  @return The current state of the feature (true or false).