TagRule
ContentBlockExtractingRule
, HeadExtractingRule
, MSOfficeDocumentPropertiesRule
, TitleExtractingRule
public abstract class BlockExtractingRule extends BasicRule
Modifier and Type | Field | Description |
---|---|---|
private boolean |
includeEnclosingTags |
|
private boolean |
seenOpeningTag |
Modifier | Constructor | Description |
---|---|---|
protected |
BlockExtractingRule(boolean includeEnclosingTags) |
|
protected |
BlockExtractingRule(boolean includeEnclosingTags,
String acceptableTagName) |
Modifier and Type | Method | Description |
---|---|---|
protected CharArray |
createBuffer() |
|
protected void |
end(Tag tag) |
|
void |
process(Tag tag) |
|
protected void |
start(Tag tag) |
currentBuffer, setContext, shouldProcess
private boolean includeEnclosingTags
private boolean seenOpeningTag
protected BlockExtractingRule(boolean includeEnclosingTags, String acceptableTagName)
protected BlockExtractingRule(boolean includeEnclosingTags)