public abstract class AbstractDocumentAnalyzer extends Object implements DocumentAnalyzerIF
Modifier and Type | Field and Description |
---|---|
protected int |
iteration |
protected int |
iterations |
Constructor and Description |
---|
AbstractDocumentAnalyzer(int iterations) |
Modifier and Type | Method and Description |
---|---|
abstract void |
analyzeToken(TextBlock parent,
Token token,
int index) |
boolean |
doDocumentAnalysis() |
void |
endAnalysis() |
void |
endDocument(Document doc) |
void |
endRegion(Region region) |
void |
startAnalysis() |
void |
startDocument(Document doc) |
void |
startRegion(Region region) |
public boolean doDocumentAnalysis()
doDocumentAnalysis
in interface DocumentAnalyzerIF
public void startAnalysis()
startAnalysis
in interface DocumentAnalyzerIF
public void startDocument(Document doc)
startDocument
in interface DocumentAnalyzerIF
public void startRegion(Region region)
startRegion
in interface DocumentAnalyzerIF
public abstract void analyzeToken(TextBlock parent, Token token, int index)
analyzeToken
in interface DocumentAnalyzerIF
public void endRegion(Region region)
endRegion
in interface DocumentAnalyzerIF
public void endDocument(Document doc)
endDocument
in interface DocumentAnalyzerIF
public void endAnalysis()
endAnalysis
in interface DocumentAnalyzerIF