Class TagReplaceRule
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
com.opensymphony.module.sitemesh.html.rules.TagReplaceRule
- All Implemented Interfaces:
TagRule
Very simple rule for replacing all occurences of one tag with another.
For example, to convert all <b> tags to <strong>:
html.addRule(new TagReplaceRule("b", "strong"));
- Author:
- Joe Walnes
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.opensymphony.module.sitemesh.html.BasicRule
currentBuffer, setContext, shouldProcess