|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.module.sitemesh.html.BasicRule
org.codehaus.xsite.extractors.sitemesh.rules.AddFirstChildClassToHeader
public class AddFirstChildClassToHeader
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(java.lang.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 |
|---|
public AddFirstChildClassToHeader()
| Method Detail |
|---|
public boolean shouldProcess(java.lang.String tag)
shouldProcess in interface com.opensymphony.module.sitemesh.html.TagRuleshouldProcess in class com.opensymphony.module.sitemesh.html.BasicRulepublic void process(com.opensymphony.module.sitemesh.html.Tag tag)
process in interface com.opensymphony.module.sitemesh.html.TagRuleprocess in class com.opensymphony.module.sitemesh.html.BasicRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||