Package | Description |
---|---|
com.yahoo.search.pagetemplates.engine | |
com.yahoo.search.pagetemplates.engine.resolvers | |
com.yahoo.search.pagetemplates.model |
Modifier and Type | Method and Description |
---|---|
void |
Resolution.addMapChoiceResolution(MapChoice choice,
Map<String,List<PageElement>> mapping) |
Map<String,List<PageElement>> |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
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
|
void |
DeterministicResolver.resolve(MapChoice choice,
Query query,
Result result,
Resolution resolution)
Chooses a mapping which is always by the literal order given in the source template
|
Modifier and Type | Method and Description |
---|---|
MapChoice |
Placeholder.getValueContainer()
Returns the element which contains the value(s) of this placeholder.
|
Modifier and Type | Method and Description |
---|---|
void |
Placeholder.setValueContainer(MapChoice valueContainer) |
void |
PageTemplateVisitor.visit(MapChoice choice)
Called each time a map choice is encountered.
|
Copyright © 2018. All rights reserved.