org.codehaus.xsite.extractors.sitemesh.rules
Class AddFirstChildClassToHeader
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
org.codehaus.xsite.extractors.sitemesh.rules.AddFirstChildClassToHeader
- All Implemented Interfaces:
- com.opensymphony.module.sitemesh.html.TagRule
- public class AddFirstChildClassToHeader
- extends com.opensymphony.module.sitemesh.html.BasicRule
Rule for HTMLProcessor that adds class=""FirstChild" to the first header of the body if it is the first element.
Fields inherited from class com.opensymphony.module.sitemesh.html.BasicRule |
context |
Methods inherited from class com.opensymphony.module.sitemesh.html.BasicRule |
currentBuffer, setContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddFirstChildClassToHeader
public AddFirstChildClassToHeader()
shouldProcess
public boolean shouldProcess(String tag)
process
public void process(com.opensymphony.module.sitemesh.html.Tag tag)
Copyright © {inceptionYear}-2007 null. All Rights Reserved.