1 package ch.qos.logback.core.blackbox.joran.action;
2
3 import ch.qos.logback.core.blackbox.model.BlackboxTopModel;
4 import ch.qos.logback.core.joran.action.BaseModelAction;
5 import org.xml.sax.Attributes;
6
7 import ch.qos.logback.core.joran.spi.SaxEventInterpretationContext;
8 import ch.qos.logback.core.model.Model;
9
10
11
12
13
14
15 public class BlackboxTopElementAction extends BaseModelAction {
16
17 @Override
18 protected Model buildCurrentModel(SaxEventInterpretationContext interpretationContext, String name,
19 Attributes attributes) {
20 BlackboxTopModel topModel = new BlackboxTopModel();
21 return topModel;
22 }
23
24 }