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