Uses of Class
com.yahoo.search.pagetemplates.model.MapChoice
Package
Description
-
Uses of MapChoice in com.yahoo.search.pagetemplates.engine
Modifier and TypeMethodDescriptionvoid
Resolution.addMapChoiceResolution
(MapChoice choice, Map<String, List<PageElement>> mapping) Resolution.getResolution
(MapChoice choice) Returns the resolution of a map choice.void
Resolver.resolve
(MapChoice choice, Query query, Result result, Resolution resolution) Override this to resolve each map choice independently. -
Uses of MapChoice in com.yahoo.search.pagetemplates.engine.resolvers
Modifier and TypeMethodDescriptionvoid
DeterministicResolver.resolve
(MapChoice choice, Query query, Result result, Resolution resolution) Chooses a mapping which is always by the literal order given in the source templatevoid
RandomResolver.resolve
(MapChoice choice, Query query, Result result, Resolution resolution) Chooses a mapping which is always by the literal order given in the source template -
Uses of MapChoice in com.yahoo.search.pagetemplates.model
Modifier and TypeMethodDescriptionPlaceholder.getValueContainer()
Returns the element which contains the value(s) of this placeholder.Modifier and TypeMethodDescriptionvoid
Placeholder.setValueContainer
(MapChoice valueContainer) void
Called each time a map choice is encountered.