Interface TagRule
- All Known Implementing Classes:
BasicRule,BlockExtractingRule,BodyTagRule,ContentBlockExtractingRule,FramesetRule,HeadExtractingRule,HtmlAttributesRule,MetaTagRule,MSOfficeDocumentPropertiesRule,ParameterExtractingRule,StateTransitionRule,TagReplaceRule,TitleExtractingRule
public interface TagRule
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetContext(HTMLProcessorContext context) booleanshouldProcess(String name) Called by the HTMLProcessor to determine if a rule should be called for a given tag.
-
Method Details
-
setContext
-
shouldProcess
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. -
process
-