Uses of Interface
com.yahoo.search.pagetemplates.model.PageElement
Packages that use PageElement
Package
Description
-
Uses of PageElement in com.yahoo.search.pagetemplates
Classes in com.yahoo.search.pagetemplates that implement PageElementModifier and TypeClassDescriptionfinal classA page template represents a particular way to organize a result page. -
Uses of PageElement in com.yahoo.search.pagetemplates.engine
Methods in com.yahoo.search.pagetemplates.engine that return types with arguments of type PageElementModifier and TypeMethodDescriptionResolution.getResolution(MapChoice choice) Returns the resolution of a map choice.Method parameters in com.yahoo.search.pagetemplates.engine with type arguments of type PageElementModifier and TypeMethodDescriptionvoidResolution.addMapChoiceResolution(MapChoice choice, Map<String, List<PageElement>> mapping) -
Uses of PageElement in com.yahoo.search.pagetemplates.model
Classes in com.yahoo.search.pagetemplates.model that implement PageElementModifier and TypeClassDescriptionclassAbstract superclass of various kinds of choices.final classA choice between some alternative lists of page elements.classA choice between different possible mapping functions of a set of values to a set of placeholder ids.classA source placeholder is replaced with a list of source instances at evaluation time.final classA description of a way to present data items from a source.classAn element of a page template corresponding to a physical area of the layout of the final physical page.classA source mentioned in a page template.Methods in com.yahoo.search.pagetemplates.model that return types with arguments of type PageElementModifier and TypeMethodDescriptionChoice.alternatives()Returns the alternatives of this as a live reference to the alternatives of this.Section.elements()Returns the elements of this - sources, subsections and presentations and/or choices of these, as a live reference which can be modified to change the content of this (unless this is frozen).Convenience method which returns the elements and choices of the given type in elements as a read-only list.Choice.get(int index) Convenience shorthand ofreturn alternatives().get(index)Source.renderers()Returns the renderers or choices of renderers to apply on individual items of this sourceMapChoice.values()Returns the values (the "from" of the mapping) of this as a live reference which can be modified unless this is frozen.Methods in com.yahoo.search.pagetemplates.model with parameters of type PageElementModifier and TypeMethodDescriptionstatic ChoiceChoice.createSingleton(PageElement singletonAlternative) Creates a choice having a single alternative having a single page elementMethod parameters in com.yahoo.search.pagetemplates.model with type arguments of type PageElementModifier and TypeMethodDescriptionvoidChoice.add(List<PageElement> alternative) Convenience shorthand forif (alternative!static ChoiceChoice.createSingletons(List<PageElement> alternatives) Creates a choice in which each alternative consists of a single elementConstructor parameters in com.yahoo.search.pagetemplates.model with type arguments of type PageElementModifierConstructorDescriptionChoice(List<List<PageElement>> alternatives) Creates a choice between some alternatives.