Class ValueExtractorFactory


  • public class ValueExtractorFactory
    extends Object
    Builds IValueExtractor instances from a string representation.
    • Constructor Detail

      • ValueExtractorFactory

        public ValueExtractorFactory()
    • Method Detail

      • parse

        public IValueExtractor parse​(String expression)
                              throws ExtractorSyntaxException
        Parses an “extractor expression” into a IValueExtractor.

        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.