Code example for SAXParserFactory

Methods: setXIncludeAware

    public void setXIncludeAware(boolean state)
        throws UnsupportedOperationException { 
    public boolean isXIncludeAware() throws UnsupportedOperationException { 
      return factory.isXIncludeAware();
   * Wraps an existing DocumentBuilderFactory and ensures that any returned 
   * DocumentBuilder instances are secure. 
  static protected class SecureDocumentBuilderFactory 
      extends DocumentBuilderFactory {
Connect your IDE to all the code out there  Get Codota for Java