net.ontopia.topicmaps.classify
Class AbstractDocumentAnalyzer

java.lang.Object
  extended by net.ontopia.topicmaps.classify.AbstractDocumentAnalyzer
All Implemented Interfaces:
DocumentAnalyzerIF
Direct Known Subclasses:
CompoundAnalyzer, DistanceAnalyzer, RegionBooster

public abstract class AbstractDocumentAnalyzer
extends java.lang.Object
implements DocumentAnalyzerIF

INTERNAL:


Field Summary
protected  int iteration
           
protected  int iterations
           
 
Constructor Summary
AbstractDocumentAnalyzer()
           
AbstractDocumentAnalyzer(int iterations)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iterations

protected int iterations

iteration

protected int iteration
Constructor Detail

AbstractDocumentAnalyzer

public AbstractDocumentAnalyzer()

AbstractDocumentAnalyzer

public AbstractDocumentAnalyzer(int iterations)
Method Detail

doDocumentAnalysis

public boolean doDocumentAnalysis()
Specified by:
doDocumentAnalysis in interface DocumentAnalyzerIF

startAnalysis

public void startAnalysis()
Specified by:
startAnalysis in interface DocumentAnalyzerIF

startDocument

public void startDocument(Document doc)
Specified by:
startDocument in interface DocumentAnalyzerIF

startRegion

public void startRegion(Region region)
Specified by:
startRegion in interface DocumentAnalyzerIF

analyzeToken

public abstract void analyzeToken(TextBlock parent,
                                  Token token,
                                  int index)
Specified by:
analyzeToken in interface DocumentAnalyzerIF

endRegion

public void endRegion(Region region)
Specified by:
endRegion in interface DocumentAnalyzerIF

endDocument

public void endDocument(Document doc)
Specified by:
endDocument in interface DocumentAnalyzerIF

endAnalysis

public void endAnalysis()
Specified by:
endAnalysis in interface DocumentAnalyzerIF


Copyright © 2000-2012 Ontopia.