com.opensymphony.module.sitemesh.html
Class StateTransitionRule

java.lang.Object
  extended by com.opensymphony.module.sitemesh.html.BasicRule
      extended by com.opensymphony.module.sitemesh.html.StateTransitionRule
All Implemented Interfaces:
TagRule

public class StateTransitionRule
extends BasicRule


Field Summary
private  State lastState
           
private  State newState
           
private  boolean writeEnclosingTag
           
 
Fields inherited from class com.opensymphony.module.sitemesh.html.BasicRule
context
 
Constructor Summary
StateTransitionRule(String tagName, State newState)
           
StateTransitionRule(String tagName, State newState, boolean writeEnclosingTag)
           
 
Method Summary
 void process(Tag tag)
           
 
Methods inherited from class com.opensymphony.module.sitemesh.html.BasicRule
currentBuffer, setContext, shouldProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newState

private final State newState

writeEnclosingTag

private final boolean writeEnclosingTag

lastState

private State lastState
Constructor Detail

StateTransitionRule

public StateTransitionRule(String tagName,
                           State newState)

StateTransitionRule

public StateTransitionRule(String tagName,
                           State newState,
                           boolean writeEnclosingTag)
Method Detail

process

public void process(Tag tag)
Specified by:
process in interface TagRule
Specified by:
process in class BasicRule

www.opensymphony.com/sitemesh/