Uses of Class
com.yahoo.search.pagetemplates.model.Choice
Packages that use Choice
Package
Description
-
Uses of Choice in com.yahoo.search.pagetemplates.engine
Methods in com.yahoo.search.pagetemplates.engine with parameters of type ChoiceModifier and TypeMethodDescriptionvoidResolution.addChoiceResolution(Choice choice, int alternativeIndex) intResolution.getResolution(Choice choice) Returns the resolution of a choice.voidOrganizer.organize(Choice templateChoice, Resolution resolution, Result result) Organizes the given resultOverride this to resolve choices.voidResolver.resolve(Choice choice, Query query, Result result, Resolution resolution) Override this to resolve each choice independently. -
Uses of Choice in com.yahoo.search.pagetemplates.engine.resolvers
Methods in com.yahoo.search.pagetemplates.engine.resolvers with parameters of type ChoiceModifier and TypeMethodDescriptionvoidDeterministicResolver.resolve(Choice choice, Query query, Result result, Resolution resolution) Chooses the last alternative of any choicevoidRandomResolver.resolve(Choice choice, Query query, Result result, Resolution resolution) Chooses the last alternative of any choice -
Uses of Choice in com.yahoo.search.pagetemplates.model
Methods in com.yahoo.search.pagetemplates.model that return ChoiceModifier and TypeMethodDescriptionstatic ChoiceChoice.createSingleton(PageElement singletonAlternative) Creates a choice having a single alternative having a single page elementstatic ChoiceChoice.createSingletons(List<PageElement> alternatives) Creates a choice in which each alternative consists of a single elementMethods in com.yahoo.search.pagetemplates.model with parameters of type Choice