Class BasicRule
java.lang.Object
com.opensymphony.module.sitemesh.html.BasicRule
- All Implemented Interfaces:
TagRule
- Direct Known Subclasses:
BlockExtractingRule
,BodyTagRule
,DivExtractingPageParser.TopLevelDivExtractingRule
,FramesetRule
,HtmlAttributesRule
,MetaTagRule
,ParameterExtractingRule
,StateTransitionRule
,TagReplaceRule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CharArray
abstract void
void
setContext
(HTMLProcessorContext context) boolean
shouldProcess
(String name) Called by the HTMLProcessor to determine if a rule should be called for a given tag.
-
Field Details
-
acceptableTagNames
-
context
-
-
Constructor Details
-
BasicRule
-
BasicRule
-
BasicRule
protected BasicRule()
-
-
Method Details
-
setContext
- Specified by:
setContext
in interfaceTagRule
-
shouldProcess
Description copied from interface:TagRule
Called 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:
shouldProcess
in interfaceTagRule
-
process
-
currentBuffer
-