01: package com.opensymphony.module.sitemesh.html.rules;
02:
03: import com.opensymphony.module.sitemesh.html.BasicRule;
04: import com.opensymphony.module.sitemesh.html.Tag;
05:
06: public class FramesetRule extends BasicRule {
07:
08: private final PageBuilder page;
09:
10: public FramesetRule(PageBuilder page) {
11: super (new String[] { "frame", "frameset" });
12: this .page = page;
13: }
14:
15: public void process(Tag tag) {
16: page.addProperty("frameset", "true");
17: }
18:
19: }
|