Class BasicRule
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
- All Implemented Interfaces:
TagRule
- Direct Known Subclasses:
BlockExtractingRule,BodyTagRule,FramesetRule,HtmlAttributesRule,MetaTagRule,ParameterExtractingRule,StateTransitionRule,TagReplaceRule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CharArrayabstract voidvoidsetContext(HTMLProcessorContext context) booleanshouldProcess(String name) Called by the HTMLProcessor to determine if a rule should be called for a given tag.
-
Field Details
-
context
-
-
Constructor Details
-
BasicRule
-
BasicRule
-
BasicRule
protected BasicRule()
-
-
Method Details
-
setContext
- Specified by:
setContextin interfaceTagRule
-
shouldProcess
Description copied from interface:TagRuleCalled by the HTMLProcessor to determine if a rule should be called for a given tag. The name parameter will always be passed in lowercase.- Specified by:
shouldProcessin interfaceTagRule
-
process
-
currentBuffer
-