Interface ContentValuesExtractorFactory.ContentValuesExtractor

All Known Implementing Classes:
ContentValuesExtractorFactory.SearchModelContentValuesExtractor, ContentValuesExtractorFactory.SimpleContentValuesExtractor
Enclosing class:
ContentValuesExtractorFactory

A ContentValuesExtractor
  • Method Details

    • setFullValues

      Whether to return full values or not.
      Parameters:
      fullValues - true to return full values, false otherwise.
      Returns:
      The ContentValuesExtractor itself.
    • getValues

      Map<String,Object> getValues(Content content, Locale defaultLocale)
      Get the values from the given content.
      Parameters:
      content - The content.
      defaultLocale - The default locale for localized values if the content's language is null. Can be null.
      Returns:
      the extracted values.
    • getValues

      Map<String,Object> getValues(Content content, Locale defaultLocale, Map<String,Object> contextualParameters)
      Get the values from the given content.
      Parameters:
      content - The content.
      defaultLocale - The default locale for localized values if the content's language is null. Can be null.
      contextualParameters - The search contextual parameters.
      Returns:
      the extracted values.