/** * Check internal data structures. * * @param out : print errors here * @return true if no fatal consistency errors. */ public boolean check(StringBuilder out) { return check(out, false); }
/** * Check internal data structures. * * @param out : print errors here * @return true if no fatal consistency errors. */ public boolean check(StringBuilder out) { return check(out, false); }
/** * Check internal data structures. * * @param out : print errors here * @return true if no fatal consistency errors. */ public boolean check(StringBuilder out) { return check(out, false); }
/** * Checks the validity of the configuration file. * @param out - a StringBuffer with validity error and warning messages. * @return - true if no errors, false if errors exist */ public boolean isValid( StringBuilder out) { log.debug( "isValid(): start"); return( this.catalog.check( out)); }
/** * Checks the validity of the configuration file. * @param out - a StringBuffer with validity error and warning messages. * @return - true if no errors, false if errors exist */ public boolean isValid( StringBuilder out) { log.debug( "isValid(): start"); return( this.catalog.check( out)); }
catalog = catFactory.readXML(catalogLocation); StringBuilder buff = new StringBuilder(); if (!catalog.check(buff)) { result.errLog.format("Invalid catalog from Resolver <%s>%n%s%n", catalogLocation, buff.toString()); result.fatalError = true;
catalog = catFactory.readXML(catalogLocation); StringBuilder buff = new StringBuilder(); if (!catalog.check(buff)) { result.errLog.format("Invalid catalog from Resolver <%s>%n%s%n", catalogLocation, buff.toString()); result.fatalError = true;
catalog = catFactory.readXML(catalogLocation); StringBuilder buff = new StringBuilder(); if (!catalog.check(buff)) { result.errLog.format("Invalid catalog from Resolver <%s>%n%s%n", catalogLocation, buff.toString()); result.fatalError = true;