01: package com.opensymphony.module.sitemesh.html;
02:
03: /**
04: * TextFilters can be added to the HTMLProcessor (or specific States) and allow a simple means of filtering text content.
05: *
06: * <p>More than one TextFilter may be added to each HTMLProcessor/State and they will be called in the order they were added.</p>
07: *
08: * @author Joe Walnes
09: *
10: * @see HTMLProcessor
11: * @see State
12: * @see com.opensymphony.module.sitemesh.html.rules.RegexReplacementTextFilter
13: */
14: public interface TextFilter {
15:
16: String filter(String content);
17:
18: }
|