org.codehaus.xsite.extractors.sitemesh.rules
Class AddFirstChildClassToHeader

java.lang.Object
  extended bycom.opensymphony.module.sitemesh.html.BasicRule
      extended byorg.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.


Field Summary
 
Fields inherited from class com.opensymphony.module.sitemesh.html.BasicRule
context
 
Constructor Summary
AddFirstChildClassToHeader()
           
 
Method Summary
 void process(com.opensymphony.module.sitemesh.html.Tag tag)
           
 boolean shouldProcess(String tag)
           
 
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
 

Constructor Detail

AddFirstChildClassToHeader

public AddFirstChildClassToHeader()
Method Detail

shouldProcess

public boolean shouldProcess(String tag)

process

public void process(com.opensymphony.module.sitemesh.html.Tag tag)


Copyright © {inceptionYear}-2007 null. All Rights Reserved.