@Nonnull
  @ReturnsMutableCopy
  protected DOMReaderSettings internalCreateDOMReaderSettings ()
  {
    final DOMReaderSettings aDRS = new DOMReaderSettings ();
    if (m_aEntityResolver != null)
      aDRS.setEntityResolver (m_aEntityResolver);
    if (false)
    {
      final boolean m_bLoadExternalSchemas = false;
      aDRS.setFeatureValue (EXMLParserFeature.EXTERNAL_GENERAL_ENTITIES, m_bLoadExternalSchemas);
      aDRS.setFeatureValue (EXMLParserFeature.EXTERNAL_PARAMETER_ENTITIES, m_bLoadExternalSchemas);
      aDRS.setFeatureValue (EXMLParserFeature.LOAD_EXTERNAL_DTD, m_bLoadExternalSchemas);
      aDRS.setFeatureValue (EXMLParserFeature.VALIDATION, true);
      aDRS.setFeatureValue (EXMLParserFeature.NAMESPACES, true);
    }
    return aDRS;
  }
@ Nonnull @ ReturnsMutableCopy protected DOMReaderSettings internalCreateDOMReaderSettings ( ) { final DOMReaderSettings aDRS = new DOMReaderSettings ( ) ; if ( m_aEntityResolver != null ) aDRS . setEntityResolver ( m_aEntityResolver ) ; if ( false ) { final boolean m_bLoadExternalSchemas = false ; aDRS . setFeatureValue ( EXMLParserFeature . EXTERNAL_GENERAL_ENTITIES , m_bLoadExternalSchemas ) ; aDRS . setFeatureValue ( EXMLParserFeature . EXTERNAL_PARAMETER_ENTITIES , m_bLoadExternalSchemas ) ; aDRS . setFeatureValue ( EXMLParserFeature . LOAD_EXTERNAL_DTD , m_bLoadExternalSchemas ) ; aDRS . setFeatureValue ( EXMLParserFeature . VALIDATION , true ) ; aDRS . setFeatureValue ( EXMLParserFeature . NAMESPACES , true ) ; } return aDRS ; }
@return The {@link DOMReaderSettings} to be used for reading the XML files
to be validated. This includes the {@link EntityResolver} to be
used.
@see #getEntityResolver()