/* if(olfsConfigurationDoc.getRootElement().getChild("UsePersistentContentDocs") != null) setUsePersistentContentDocs(true);
if(olfsConfigurationDoc.getRootElement().getChild("AllowDirectDataSourceAccess") != null) setAllowDirectDataSourceAccess(true);
    private void configure(Document olfsConfigurationDoc) throws Exception {        Element besConfig = olfsConfigurationDoc.getRootElement().getChild("BES");        _besConfig = new BESConfig(besConfig);        Element dirView = olfsConfigurationDoc.getRootElement().getChild("DirectoryView");        if( dirView!=null ){            String val = dirView.getTextTrim();            if(val.equalsIgnoreCase("THREDDS")){                setTHREDDSDirectoryView(true);            }            else if(val.equalsIgnoreCase("OPeNDAP")){                setTHREDDSDirectoryView(false);            }            else {                throw new Exception("In the OLFS Config, The Element <DirectoryView> may only contain content " +                                    "equal to \"THREDDS\" or \"OPeNDAP\". The value \n" + val + "\" is illegal.");            }        }        else {            setTHREDDSDirectoryView(false);        }        /*        if(olfsConfigurationDoc.getRootElement().getChild("UsePersistentContentDocs") != null)            setUsePersistentContentDocs(true);        else            setUsePersistentContentDocs(false);        */    }