public class MapSelectorResolver extends Object implements AliasSelectorResolver
AliasSelectorResolver that uses an injected Map to translate the alias. The key of each
map entry is the alias, and the value is the fully-formed selector expression.| Constructor and Description |
|---|
MapSelectorResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
resolveSelector(String aliasSelectorExpression)
The method that translates an alias into a fully-formed selector expression
|
void |
setDefinedSelectors(Map<String,String> definedSelectors)
Injects the map that will be used to resolve selector expressions
|
public String resolveSelector(String aliasSelectorExpression) throws ParseSelectorException
AliasSelectorResolverresolveSelector in interface AliasSelectorResolveraliasSelectorExpression - the alias expression passed in on the URIParseSelectorException - thrown if the input alias expression is not validCopyright © 2014. All Rights Reserved.