01: package com.opensymphony.module.sitemesh.html;
02:
03: public interface TagRule {
04: void setContext(HTMLProcessorContext context);
05:
06: /**
07: * Called by the HTMLProcessor to determine if a rule should be called for a given tag.
08: *
09: * The name parameter will always be passed in lowercase.
10: */
11: boolean shouldProcess(String name);
12:
13: void process(Tag tag);
14: }
|