com.raritantechnologies.clearforest.factExtractors
Class AcquisitionExtractor

java.lang.Object
  extended bycom.raritantechnologies.clearforest.factExtractors.AcquisitionExtractor
All Implemented Interfaces:
IConfigurable, IFactRelationshipExtractor, IResultParser

public class AcquisitionExtractor
extends java.lang.Object
implements IFactRelationshipExtractor

Extracts and parses Acquisition events from ClearForest tagged content.


Developed by Raritan Technologies .

Author:
Ted Sullivan

Field Summary
 
Fields inherited from interface com.raritantechnologies.searchApp.IResultParser
TEMPLATE
 
Constructor Summary
AcquisitionExtractor()
           
 
Method Summary
 void addFactRelationships(org.w3c.dom.Element documentElement, java.util.Map termMap)
          Adds fact relationships to a term map from a tagged document.
 IResultSet getFactTermResults(IResult result, java.lang.String termField, java.lang.String associatedField, java.lang.String factRelationshipField, java.lang.String[] additionalFields)
          Extracts a set of results with a term, associated term and the fact relationship between them from a result object.
 java.lang.String getRelationshipType()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 IResult parse(java.lang.String dataString)
          Create an IResult object from the formatted data string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcquisitionExtractor

public AcquisitionExtractor()
Method Detail

addFactRelationships

public void addFactRelationships(org.w3c.dom.Element documentElement,
                                 java.util.Map termMap)
Description copied from interface: IFactRelationshipExtractor
Adds fact relationships to a term map from a tagged document.

Specified by:
addFactRelationships in interface IFactRelationshipExtractor

parse

public IResult parse(java.lang.String dataString)
Description copied from interface: IResultParser
Create an IResult object from the formatted data string.

Specified by:
parse in interface IResultParser

getFactTermResults

public IResultSet getFactTermResults(IResult result,
                                     java.lang.String termField,
                                     java.lang.String associatedField,
                                     java.lang.String factRelationshipField,
                                     java.lang.String[] additionalFields)
Description copied from interface: IFactRelationshipExtractor
Extracts a set of results with a term, associated term and the fact relationship between them from a result object. In general these will be reciprical relationships.

Specified by:
getFactTermResults in interface IFactRelationshipExtractor

getRelationshipType

public java.lang.String getRelationshipType()
Specified by:
getRelationshipType in interface IFactRelationshipExtractor

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable