APISonar


com.haulmont.cuba.gui.logging.ScreenLifeCycle.XML

> com > haulmont > cuba > gui > logging > ScreenLifeCycle > XML
com APIs haulmont APIs cuba APIs gui APIs logging APIs ScreenLifeCycle APIs XML APIs

Example 1
public Element load(String resourcePath, String id, Map<String, Object> params) {
        StopWatch xmlLoadWatch = UIPerformanceLogger.createStopWatch(ScreenLifeCycle.XML, id);

        String template = loadTemplate(resourcePath);
        Document document = getDocument(template, params);

        xmlLoadWatch.stop();
        return document.getRootElement();
    }