public static class SingleDocument.IgnoredMatches extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
containsParagraph(int y)
Contains a paragraph ignored matches
|
Map<String,Set<Integer>> |
get(int y)
Get all ignored matches of a paragraph
|
List<Integer> |
getAllParagraphs()
get all paragraphs containing ignored matches
|
Map<Integer,Map<String,Set<Integer>>> |
getFullMap()
Get a copy of map
|
boolean |
isEmpty()
Is the list of ignored matches empty - no ignored matches
|
boolean |
isIgnored(int xFrom,
int xTo,
int y,
String ruleId)
Is the match of a ruleID at a position ignored
|
void |
put(int y,
Map<String,Set<Integer>> ruleAtX)
add or replace a map of ignored matches to a paragraph
|
void |
removeIgnoredMatch(int x,
int y,
String ruleId)
Remove one ignored match
|
void |
removeIgnoredMatches(int y)
Remove an ignored matches in a paragraph
|
void |
removeIgnoredMatches(int y,
String ruleId)
Remove an ignored matches of a special ruleID in a paragraph
|
void |
setIgnoredMatch(int x,
int y,
String ruleId)
Set an ignored match
|
int |
size()
size: number of paragraphs containing ignored matches
|
public void setIgnoredMatch(int x, int y, String ruleId)
public void removeIgnoredMatches(int y)
public void removeIgnoredMatches(int y, String ruleId)
public void removeIgnoredMatch(int x, int y, String ruleId)
public boolean isIgnored(int xFrom, int xTo, int y, String ruleId)
public boolean containsParagraph(int y)
public boolean isEmpty()
public int size()
public void put(int y, Map<String,Set<Integer>> ruleAtX)