Examples of TocCollection


Examples of com.esri.gpt.control.search.browse.TocCollection

*/
public synchronized TocCollection getConfiguredTocs() {
  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;
    } catch (Exception e) {
      e.printStackTrace(System.err);
      LogUtil.getLogger().log(Level.SEVERE, "Unable to load toc configuration:", e);
      return new TocCollection();
    }
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.