Interface WhitespaceTokenizer
- All Superinterfaces:
SuggestTokenizer
WhitespaceTokenizer
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
WhitespaceTokenizer whitespaceTokenizer = WhitespaceTokenizer.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic WhitespaceTokenizerBuilder
builder()
builder factory method for WhitespaceTokenizerstatic WhitespaceTokenizerBuilder
builder
(WhitespaceTokenizer template) create builder for WhitespaceTokenizer instancestatic WhitespaceTokenizer
deepCopy
(WhitespaceTokenizer template) factory method to create a deep copy of WhitespaceTokenizerstatic WhitespaceTokenizer
of()
factory methodstatic WhitespaceTokenizer
of
(WhitespaceTokenizer template) factory method to create a shallow copy WhitespaceTokenizerstatic com.fasterxml.jackson.core.type.TypeReference<WhitespaceTokenizer>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withWhitespaceTokenizer
(Function<WhitespaceTokenizer, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.products.SuggestTokenizer
getType, withSuggestTokenizer
-
Field Details
-
WHITESPACE
discriminator value for WhitespaceTokenizer- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of WhitespaceTokenizer
-
of
factory method to create a shallow copy WhitespaceTokenizer- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of WhitespaceTokenizer- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for WhitespaceTokenizer- Returns:
- builder
-
builder
create builder for WhitespaceTokenizer instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withWhitespaceTokenizer
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-