Interface ResultValue

All Known Implementing Classes:
XMLResultValue

public interface ResultValue
A reference to a piece of data in a result.
  • 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

      void setName(String name)
      Set the name for this result value
      Parameters:
      name -
    • getTierName

      String getTierName()
      Gets the tier name for this result value.
      Returns:
      the tier name
    • setTierName

      void setTierName(String tierName)
      Sets the tier name for this result value.
      Parameters:
      tierName - the tier name
    • getRange

      Range getRange()
      Gets the range for this result value.
      Returns:
      the range
    • setRange

      void setRange(Range range)
      Sets the range for this result value.
      Parameters:
      range - the range
    • getGroupIndex

      int getGroupIndex()
      Gets the group index for this result value.
      Returns:
      the group index
    • setGroupIndex

      void setGroupIndex(int groupIndex)
      Sets the group index for this result value.
      Parameters:
      groupIndex - the group index
    • getData

      String getData()
      Gets the data for this result value.
      Returns:
      the data
    • setData

      void setData(String data)
      Sets the data for this result value.
      Parameters:
      data - the data
    • getMatcherGroupCount

      int getMatcherGroupCount()
      Returns the number of 'matcher' groups either that were produced by either regex Matchers or PhonexMatchers.
      Returns:
      number of matcher groups
    • getMatcherGroup

      String getMatcherGroup(int index)
      Get the value of the specified matcher group.
      Parameters:
      index -
      Returns:
      value of the specified group