Uses of Interface
com.yahoo.search.pagetemplates.model.PageElement
Package
Description
-
Uses of PageElement in com.yahoo.search.pagetemplates
Modifier and TypeClassDescriptionfinal class
A page template represents a particular way to organize a result page. -
Uses of PageElement in com.yahoo.search.pagetemplates.engine
Modifier and TypeMethodDescriptionResolution.getResolution
(MapChoice choice) Returns the resolution of a map choice.Modifier and TypeMethodDescriptionvoid
Resolution.addMapChoiceResolution
(MapChoice choice, Map<String, List<PageElement>> mapping) -
Uses of PageElement in com.yahoo.search.pagetemplates.model
Modifier and TypeClassDescriptionclass
Abstract superclass of various kinds of choices.final class
A choice between some alternative lists of page elements.class
A choice between different possible mapping functions of a set of values to a set of placeholder ids.class
A source placeholder is replaced with a list of source instances at evaluation time.final class
A description of a way to present data items from a source.class
An element of a page template corresponding to a physical area of the layout of the final physical page.class
A source mentioned in a page template.Modifier 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.Modifier and TypeMethodDescriptionstatic Choice
Choice.createSingleton
(PageElement singletonAlternative) Creates a choice having a single alternative having a single page elementModifier and TypeMethodDescriptionvoid
Choice.add
(List<PageElement> alternative) Convenience shorthand forif (alternative!=null) alternatives().add(alternative)
static Choice
Choice.createSingletons
(List<PageElement> alternatives) Creates a choice in which each alternative consists of a single elementModifierConstructorDescriptionChoice
(List<List<PageElement>> alternatives) Creates a choice between some alternatives.