View Javadoc

1   /**
2    * Logback: the reliable, fast and flexible logging library for Java.
3    * 
4    * Copyright (C) 1999-2006, 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 chapter3.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  /**
20   * No operation (NOP) action that does strictly nothing. 
21   *  
22   * @author Ceki Gülcü
23   */
24  public class NOPAction extends Action {
25    
26    public void begin(InterpretationContext ec, String name, Attributes attributes) {
27    }
28  
29  
30    public void end(InterpretationContext ec, String name) {
31    }
32  }