code: public boolean getFeature(String name)
  		throws XPathFactoryConfigurationException {
  
              // feature name cannot be null
              if (name == null) {
                  String fmsg = XSLMessages.createXPATHMessage(
                          XPATHErrorResources.ER_GETTING_NULL_FEATURE,
                          new Object[] { CLASS_NAME } );
                  throw new NullPointerException( fmsg );
              }
  		
              // secure processing?
              if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) {
                  return featureSecureProcessing;
              }
  		
              // unknown feature
              String fmsg = XSLMessages.createXPATHMessage(
                      XPATHErrorResources.ER_GETTING_UNKNOWN_FEATURE,
                      new Object[] { name, CLASS_NAME } );
  
              throw new XPathFactoryConfigurationException( fmsg );
          }
docs: <p>Get the state of the named feature.</p>
  
  <p>
  Feature names are fully qualified {@link java.net.URI}s.
  Implementations may define their own features.
  An {@link XPathFactoryConfigurationException} is thrown if this
  <code>XPathFactory</code> or the <code>XPath</code>s
  it creates cannot support the feature.
  It is possible for an <code>XPathFactory</code> to expose a feature
  value but be unable to change its state.
  </p>
  
  @param name Feature name.
  
  @return State of the named feature.
  
  @throws XPathFactoryConfigurationException if this
  <code>XPathFactory</code> or the <code>XPath</code>s
  it creates cannot support this feature.
  @throws NullPointerException if <code>name</code> is
  <code>null</code>.