com.raritantechnologies.utils
Class FieldLookupMap
java.lang.Object
com.raritantechnologies.utils.FieldLookupMap
- public class FieldLookupMap
- extends java.lang.Object
Used to look up values for a "token" from the user-selected value of a Query parameter.
Example XML:
<FieldLookup ID="TIBOOL" name="_TI_OP_">
<Choice abstractVal="AND" sourceVal="AND" />
<Choice abstractVal="OR" sourceVal="OR" />
</FieldLookup>
where: _TI_OP_ is the token in a parse pattern
TIBOOL is the search field
At runtime, _TI_OP_ will map to "sourceVal" choice for the user-selected field value (abstractVal)
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
|
Method Summary |
java.lang.String |
getLookupValue(java.lang.String tokenName,
java.util.Map queryParams)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldLookupMap
public FieldLookupMap(org.w3c.dom.NodeList fieldLookupElements)
FieldLookupMap
public FieldLookupMap(org.w3c.dom.Element lookupElement)
getLookupValue
public java.lang.String getLookupValue(java.lang.String tokenName,
java.util.Map queryParams)