analysis
Class AnalysisResult

java.lang.Object
  extended by analysis.AnalysisResult

public class AnalysisResult
extends java.lang.Object

An object to hold the Result obtain from Analysis Engines.


Constructor Summary
AnalysisResult(AnalysisEngine methodUsed, Page thisPage)
          Constructor for the AnalysisResult
 
Method Summary
 AnalysisEngine getAnalysisMethod()
           
 int getAnalysisScore()
           
 Page getPage()
           
 java.lang.String getTextData()
           
 void setAnalysisMethod(AnalysisEngine analysisEngine)
           
 void setAnalysisScore(int thisAnalysisScore)
           
 void setPage(Page thisPage)
           
 void setTextData(java.lang.String textData)
           
 java.lang.String toString()
          This method is overridden to provide nice output for display.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalysisResult

public AnalysisResult(AnalysisEngine methodUsed,
                      Page thisPage)
Constructor for the AnalysisResult

Parameters:
methodUsed - - The AnalysisEngine being used for this result
thisPage - - The Page object being analyzed textData parameter is set by the TextExtractionEngine analysisScore parameter is set by whichever AnalysisEngine does analysis on the object.
Method Detail

getPage

public Page getPage()

setPage

public void setPage(Page thisPage)

getAnalysisMethod

public AnalysisEngine getAnalysisMethod()

setAnalysisMethod

public void setAnalysisMethod(AnalysisEngine analysisEngine)

getTextData

public java.lang.String getTextData()

setTextData

public void setTextData(java.lang.String textData)

getAnalysisScore

public int getAnalysisScore()

setAnalysisScore

public void setAnalysisScore(int thisAnalysisScore)

toString

public java.lang.String toString()
This method is overridden to provide nice output for display.

Overrides:
toString in class java.lang.Object
Returns:
A nicely formated display string of the Page held by the result