Modifier and Type | Field and Description |
---|---|
private Map<String,MapChoice> |
PlaceholderMappingVisitor.placeholderIdToChoice |
private Map<String,MapChoice> |
PlaceholderReferenceCreatingVisitor.placeholderIdToChoice |
Modifier and Type | Method and Description |
---|---|
Map<String,MapChoice> |
PlaceholderMappingVisitor.getMap() |
Modifier and Type | Method and Description |
---|---|
void |
PlaceholderMappingVisitor.visit(MapChoice mapChoice) |
Constructor and Description |
---|
PlaceholderReferenceCreatingVisitor(Map<String,MapChoice> placeholderIdToChoice) |
Modifier and Type | Method and Description |
---|---|
private MapChoice |
PageTemplateXMLReader.readMapChoice(Element choiceElement,
String method) |
Modifier and Type | Field and Description |
---|---|
private Map<MapChoice,Map<String,List<PageElement>>> |
Resolution.mapChoiceResolutions
A of map choices made as choice → mapping
|
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.
|
void |
Resolver.ChoiceResolverVisitor.visit(MapChoice choice) |
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 | Field and Description |
---|---|
private MapChoice |
Placeholder.valueContainer |
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.