Interface ResultValue
- All Known Implementing Classes:
XMLResultValue
public interface ResultValue
A reference to a piece of data in a result.
-
Method Summary
Modifier and TypeMethodDescriptiongetData()Gets the data for this result value.getMatcherGroup(int index) Get the value of the specified matcher group.intReturns the number of 'matcher' groups either that were produced by either regexMatchers orPhonexMatchers.getName()Get the name for this result valuegetRange()Gets the range for this result value.Gets the tier name for this result value.voidSets the data for this result value.voidSet the name for this result valuevoidSets the range for this result value.voidsetTierName(String tierName) Sets the tier name for this result value.
-
Method Details
-
getName
String getName()Get the name for this result value- Returns:
- name if not specified this will be the same as the tier name
-
setName
-
getTierName
-
setTierName
Sets the tier name for this result value.- Parameters:
tierName- the tier name
-
getRange
-
setRange
-
getData
-
setData
-
getMatcherGroupCount
int getMatcherGroupCount()Returns the number of 'matcher' groups either that were produced by either regexMatchers orPhonexMatchers.- Returns:
- number of matcher groups
-
getMatcherGroup
Get the value of the specified matcher group.- Parameters:
index-- Returns:
- value of the specified group
-