Class ValueExtractorFactory
- java.lang.Object
-
- org.incenp.obofoundry.sssom.extract.ValueExtractorFactory
-
public class ValueExtractorFactory extends Object
BuildsIValueExtractorinstances from a string representation.
-
-
Constructor Summary
Constructors Constructor Description ValueExtractorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IValueExtractorparse(String expression)Parses an “extractor expression” into aIValueExtractor.
-
-
-
Method Detail
-
parse
public IValueExtractor parse(String expression) throws ExtractorSyntaxException
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.
-
-