Uses of Interface
com.yahoo.search.pagetemplates.model.PageElement
-
Packages that use PageElement Package Description com.yahoo.search.pagetemplates com.yahoo.search.pagetemplates.engine com.yahoo.search.pagetemplates.model -
-
Uses of PageElement in com.yahoo.search.pagetemplates
Classes in com.yahoo.search.pagetemplates that implement PageElement Modifier and Type Class Description class
PageTemplate
A 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 PageElement Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<PageElement>>
Resolution. getResolution(MapChoice choice)
Returns the resolution of a map choice.Method parameters in com.yahoo.search.pagetemplates.engine with type arguments of type PageElement Modifier and Type Method Description void
Resolution. addMapChoiceResolution(MapChoice choice, java.util.Map<java.lang.String,java.util.List<PageElement>> mapping)
-
Uses of PageElement in com.yahoo.search.pagetemplates.model
Classes in com.yahoo.search.pagetemplates.model that implement PageElement Modifier and Type Class Description class
AbstractChoice
Abstract superclass of various kinds of choices.class
Choice
A choice between some alternative lists of page elements.class
MapChoice
A choice between different possible mapping functions of a set of values to a set of placeholder ids.class
Placeholder
A source placeholder is replaced with a list of source instances at evaluation time.class
Renderer
A description of a way to present data items from a source.class
Section
An element of a page template corresponding to a physical area of the layout of the final physical page.class
Source
A source mentioned in a page template.Methods in com.yahoo.search.pagetemplates.model that return types with arguments of type PageElement Modifier and Type Method Description java.util.List<java.util.List<PageElement>>
Choice. alternatives()
Returns the alternatives of this as a live reference to the alternatives of this.java.util.List<PageElement>
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).java.util.List<PageElement>
Section. elements(java.lang.Class pageTemplateModelElementClass)
Convenience method which returns the elements and choices of the given type in elements as a read-only list.java.util.List<PageElement>
Choice. get(int index)
Convenience shorthand ofreturn alternatives().get(index)
java.util.List<PageElement>
Source. renderers()
Returns the renderers or choices of renderers to apply on individual items of this sourcejava.util.List<java.util.List<PageElement>>
MapChoice. 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 PageElement Modifier and Type Method Description static Choice
Choice. 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 PageElement Modifier and Type Method Description void
Choice. add(java.util.List<PageElement> alternative)
Convenience shorthand forif (alternative!=null) alternatives().add(alternative)
static Choice
Choice. createSingletons(java.util.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 PageElement Constructor Description Choice(java.util.List<java.util.List<PageElement>> alternatives)
Creates a choice between some alternatives.
-