R - S - T - public class ExtractorComposition<R,S,T> extends Extractor<R,T>
Extractor objects.| Constructor and Description |
|---|
ExtractorComposition(Extractor<R,S> rsExtractor,
Extractor<S,T> stExtractor)
Constructs a new extractor that is the composition of the given extractors.
|
| Modifier and Type | Method and Description |
|---|---|
protected Collection<T> |
extractCandidates(R r)
Extracts candidate extractions from the given source object.
|
addMapper, compose, extract, getMappersprotected Collection<T> extractCandidates(R r) throws ExtractorException
ExtractorExtractor.extract(Object), the this method is
used to generate a set of candidate extractions, which are then passed
through each mapper object attached to the extractor.extractCandidates in class Extractor<R,T>r - the source to extract from.ExtractorException - if unable to extractCopyright © 2010-2013 University of Washington CSE. All Rights Reserved.