protected BasicParserConfiguration(SymbolTable symbolTable, XMLComponentManager parentSettings) { super(parentSettings);   fComponents = new Vector();   fRecognizedFeatures = new Vector(); fRecognizedProperties = new Vector();   fFeatures = new Hashtable(); fProperties = new Hashtable();   final String[] recognizedFeatures = { PARSER_SETTINGS, VALIDATION, NAMESPACES, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, }; addRecognizedFeatures(recognizedFeatures); fFeatures.put(PARSER_SETTINGS, Boolean.TRUE);  fFeatures.put(VALIDATION, Boolean.FALSE); fFeatures.put(NAMESPACES, Boolean.TRUE); fFeatures.put(EXTERNAL_GENERAL_ENTITIES, Boolean.TRUE); fFeatures.put(EXTERNAL_PARAMETER_ENTITIES, Boolean.TRUE);   final String[] recognizedProperties = { XML_STRING, SYMBOL_TABLE, ERROR_HANDLER, ENTITY_RESOLVER, }; addRecognizedProperties(recognizedProperties);  if (symbolTable == null) { symbolTable = new SymbolTable(); } fSymbolTable = symbolTable; fProperties.put(SYMBOL_TABLE, fSymbolTable);  }
protected BasicParserConfiguration() { this(null, null); }
    protected BasicParserConfiguration(SymbolTable symbolTable,                                       XMLComponentManager parentSettings) {        super(parentSettings);        // create a vector to hold all the components in use        fComponents = new Vector();        // create storage for recognized features and properties        fRecognizedFeatures = new Vector();        fRecognizedProperties = new Vector();        // create table for features and properties        fFeatures = new Hashtable();        fProperties = new Hashtable();        // add default recognized features        final String[] recognizedFeatures = {        	PARSER_SETTINGS,            VALIDATION,                             NAMESPACES,             EXTERNAL_GENERAL_ENTITIES,              EXTERNAL_PARAMETER_ENTITIES,        };        addRecognizedFeatures(recognizedFeatures);        fFeatures.put(PARSER_SETTINGS, Boolean.TRUE);        // set state for default features		fFeatures.put(VALIDATION, Boolean.FALSE);		fFeatures.put(NAMESPACES, Boolean.TRUE);		fFeatures.put(EXTERNAL_GENERAL_ENTITIES, Boolean.TRUE);		fFeatures.put(EXTERNAL_PARAMETER_ENTITIES, Boolean.TRUE);        // add default recognized properties        final String[] recognizedProperties = {            XML_STRING,                 SYMBOL_TABLE,            ERROR_HANDLER,              ENTITY_RESOLVER,        };        addRecognizedProperties(recognizedProperties);        if (symbolTable == null) {            symbolTable = new SymbolTable();        }        fSymbolTable = symbolTable;        fProperties.put(SYMBOL_TABLE, fSymbolTable);    } // <init>(SymbolTable)