View Javadoc

1   /**
2    * Logback: the generic, reliable, fast and flexible logging framework.
3    * 
4    * Copyright (C) 2000-2009, QOS.ch
5    * 
6    * This library is free software, you can redistribute it and/or modify it under
7    * the terms of the GNU Lesser General Public License as published by the Free
8    * Software Foundation.
9    */
10  package chapter10.implicit;
11  
12  import org.xml.sax.Attributes;
13  
14  import ch.qos.logback.core.joran.action.Action;
15  import ch.qos.logback.core.joran.spi.InterpretationContext;
16  
17  
18  /**
19   * No operation (NOP) action that does strictly nothing. 
20   *  
21   * @author Ceki Gülcü
22   */
23  public class NOPAction extends Action {
24    
25    public void begin(InterpretationContext ec, String name, Attributes attributes) {
26    }
27  
28    public void end(InterpretationContext ec, String name) {
29    }
30  }