Class AddClassAttributeToFirstHeaderRule
- java.lang.Object
-
- com.opensymphony.module.sitemesh.html.BasicRule
-
- org.codehaus.xsite.extractors.sitemesh.rules.AddClassAttributeToFirstHeaderRule
-
- All Implemented Interfaces:
com.opensymphony.module.sitemesh.html.TagRule
- Direct Known Subclasses:
AddFirstChildClassToHeader
public class AddClassAttributeToFirstHeaderRule extends com.opensymphony.module.sitemesh.html.BasicRuleRule for HTMLProcessor that adds a class attribute to the first header of the body if it is the first element. The attribute value is by default "FirstChild".
-
-
Constructor Summary
Constructors Constructor Description AddClassAttributeToFirstHeaderRule()AddClassAttributeToFirstHeaderRule(String className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(com.opensymphony.module.sitemesh.html.Tag tag)
-
-
-
Constructor Detail
-
AddClassAttributeToFirstHeaderRule
public AddClassAttributeToFirstHeaderRule()
-
AddClassAttributeToFirstHeaderRule
public AddClassAttributeToFirstHeaderRule(String className)
-
-