public interface ResultField extends Field
Modifier and Type | Method and Description |
---|---|
default Object |
getFullValue(Content content,
Locale defaultLocale)
Get the value represented by this field in the given result content.
|
String |
getId()
Get the result field ID.
|
SearchField |
getSearchField()
Get the
SearchField representing this result field. |
Object |
getValue(Content content,
Locale defaultLocale)
Get the value represented by this field in the given result content.
|
getContentTypeId, getEnumerator, getType, isMultiple
Object getValue(Content content, Locale defaultLocale)
content
- the result content.defaultLocale
- the default locale for localized value if the content's language is nulldefault Object getFullValue(Content content, Locale defaultLocale)
content
- the result content.defaultLocale
- the default locale for localized value if the content's language is nullSearchField getSearchField()
SearchField
representing this result field.SearchField
representing this result field.