Package org.codelibs.fess.util
Interface SearchEngineUtil.XContentBuilderCallback
- Enclosing class:
SearchEngineUtil
public static interface SearchEngineUtil.XContentBuilderCallback
Functional interface for building XContent with custom logic.
Allows clients to provide custom content building implementations.
-
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.core.xcontent.XContentBuilderapply(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) Applies custom logic to build XContent using the provided builder and parameters.
-
Method Details
-
apply
org.opensearch.core.xcontent.XContentBuilder apply(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException Applies custom logic to build XContent using the provided builder and parameters.- Parameters:
builder- the XContentBuilder to use for building contentparams- the parameters to use during content building- Returns:
- the modified XContentBuilder
- Throws:
IOException- if an IO error occurs during building
-