BasicRule
, BlockExtractingRule
, BodyTagRule
, ContentBlockExtractingRule
, DivExtractingPageParser.TopLevelDivExtractingRule
, FramesetRule
, HeadExtractingRule
, HtmlAttributesRule
, MetaTagRule
, MSOfficeDocumentPropertiesRule
, ParameterExtractingRule
, StateTransitionRule
, TagReplaceRule
, TitleExtractingRule
public interface TagRule
Modifier and Type | Method | Description |
---|---|---|
void |
process(Tag tag) |
|
void |
setContext(HTMLProcessorContext context) |
|
boolean |
shouldProcess(String name) |
Called by the HTMLProcessor to determine if a rule should be called for a given tag.
|
void setContext(HTMLProcessorContext context)
boolean shouldProcess(String name)
void process(Tag tag)