Class StateTransitionRule
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
com.opensymphony.module.sitemesh.html.StateTransitionRule
- All Implemented Interfaces:
TagRule
The Class StateTransitionRule.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionStateTransitionRule(String tagName, State newState) Instantiates a new state transition rule.StateTransitionRule(String tagName, State newState, boolean writeEnclosingTag) Instantiates a new state transition rule. -
Method Summary
Methods inherited from class com.opensymphony.module.sitemesh.html.BasicRule
currentBuffer, getCurrentBufferContent, setContext, shouldProcess
-
Constructor Details
-
StateTransitionRule
Instantiates a new state transition rule.- Parameters:
tagName- the tag namenewState- the new state
-
StateTransitionRule
Instantiates a new state transition rule.- Parameters:
tagName- the tag namenewState- the new statewriteEnclosingTag- the write enclosing tag
-
-
Method Details
-
process
Description copied from interface:TagRuleProcess.- Parameters:
tag- the tag
-