Class State
java.lang.Object
com.opensymphony.module.sitemesh.html.State
The Class State.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(StateChangeListener listener) Adds the listener.voidAdds the rule.voidaddTextFilter(TextFilter textFilter) Adds the text filter.voidEnd of state.Gets the rule.voidhandleText(Text text, HTMLProcessorContext context) Handle text.booleanshouldProcessTag(String tagName) Should process tag.
-
Constructor Details
-
State
public State()
-
-
Method Details
-
addRule
Adds the rule.- Parameters:
rule- the rule
-
addTextFilter
Adds the text filter.- Parameters:
textFilter- the text filter
-
shouldProcessTag
Should process tag.- Parameters:
tagName- the tag name- Returns:
- true, if successful
-
getRule
Gets the rule.- Parameters:
tagName- the tag name- Returns:
- the rule
-
addListener
Adds the listener.- Parameters:
listener- the listener
-
endOfState
public void endOfState()End of state. -
handleText
Handle text.- Parameters:
text- the textcontext- the context
-