initial contribution
[phpeclipse.git] / archive / org.plog4u.wiki / src / org / plog4u / wiki / macro / code / NullCodeFilter.java
1 /*
2  * This file is part of "SnipSnap Radeox Rendering Engine".
3  *
4  * Copyright (c) 2002 Stephan J. Schmidt, Matthias L. Jugel
5  * All Rights Reserved.
6  *
7  * Please visit http://radeox.org/ for updates and contact.
8  *
9  * --LICENSE NOTICE--
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2.1 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23  * --LICENSE NOTICE--
24  */
25
26 package org.plog4u.wiki.macro.code;
27
28 import org.radeox.filter.context.FilterContext;
29 import org.radeox.macro.code.SourceCodeFormatter;
30
31 /*
32  * Dummy filter that does nothing
33  *
34  * @author stephan
35  * @team sonicteam
36  * @version $Id: NullCodeFilter.java,v 1.1 2004-12-24 11:11:13 axelcl Exp $
37  */
38
39 public class NullCodeFilter implements SourceCodeFormatter {
40
41   public NullCodeFilter() {
42   }
43
44   public String filter(String content, FilterContext context) {
45     return content;
46   }
47
48   public String getName() {
49     return "none";
50   }
51
52   public int getPriority() {
53     return 0;
54   }
55 }