Class ValueExtractorFactory
java.lang.Object
org.incenp.obofoundry.sssom.extract.ValueExtractorFactory
Builds
IValueExtractor
instances from a string representation.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ValueExtractorFactory
public ValueExtractorFactory()
-
-
Method Details
-
parse
Parses an “extractor expression” into aIValueExtractor
.This is the public interface for the whole “extractor expression” feature.
- Parameters:
expression
- The expression representing the piece of content to extract from a mapping set.- Returns:
- An object that can extract the desired piece of content.
- Throws:
ExtractorSyntaxException
- If the provided expression is invalid.
-