1: package fitnesse.wikitext; 2: 3: public class EchoWidgetInterceptor implements WidgetInterceptor { 4: public void intercept(WikiWidget widget) throws Exception { 5: System.out.println(widget.getClass() + ": " 6: + widget.asWikiText() + " -> " + widget.render()); 7: } 8: }