Package org.opencms.xml.types
Class I_CmsXmlContentValue.CmsSearchContentConfig
java.lang.Object
org.opencms.xml.types.I_CmsXmlContentValue.CmsSearchContentConfig
- Enclosing interface:
- I_CmsXmlContentValue
Search content configuration for the value.
The configuration determines how the conent's value should be added to the indexed content fields.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final I_CmsXmlContentValue.CmsSearchContentConfig
Configuration for adding the extraction of the content linked by the value to the content fields.static final I_CmsXmlContentValue.CmsSearchContentConfig
Configuration for not adding the value to the content fields.static final I_CmsXmlContentValue.CmsSearchContentConfig
Configuration for adding the value unchanged to the content fields. -
Method Summary
Modifier and TypeMethodDescriptionget
(I_CmsXmlContentValue.SearchContentType searchContentType) Returns the configuration for the search content type.get
(I_CmsXmlContentValue.SearchContentType searchContentType, String adjustmentClass) Returns the configuration for the combination of search content type and adjustment class.
-
Field Details
-
FALSE
Configuration for not adding the value to the content fields. -
CONTENT
Configuration for adding the extraction of the content linked by the value to the content fields. -
TRUE
Configuration for adding the value unchanged to the content fields.
-
-
Method Details
-
get
public static I_CmsXmlContentValue.CmsSearchContentConfig get(I_CmsXmlContentValue.SearchContentType searchContentType) Returns the configuration for the search content type.- Parameters:
searchContentType
- the type to get the configuration for- Returns:
- the configuration for the type
-
get
public static I_CmsXmlContentValue.CmsSearchContentConfig get(I_CmsXmlContentValue.SearchContentType searchContentType, String adjustmentClass) Returns the configuration for the combination of search content type and adjustment class.- Parameters:
searchContentType
- the type to get the configuration foradjustmentClass
- the adjustment class- Returns:
- the configuration for the type/adjustment combination.
-
getAdjustmentClass
- Returns:
- the adjustment class.
-
getSearchContentType
- Returns:
- the search content type.
-