if (_tocCollection != null) {
return _tocCollection;
} else {
TocCollection tocs;
try {
TocFactory factory = new TocFactory();
tocs = factory.loadTocConfig();
String cacheOpt = Val.chkStr(this.getParameters().getValue("cacheTocDefinitions"));
if (!cacheOpt.equalsIgnoreCase("false")) {
_tocCollection = tocs;
}
return tocs;