Interface ChangeTable.Changer

All Known Implementing Classes:
ChangeTable.ChainedChanger, RegexChanger
Enclosing class:
ChangeTable

public static interface ChangeTable.Changer
Callback used to produce a new value from an old one.
Since:
1.3
Author:
Matthew Pocock
  • Method Summary

    Modifier and Type
    Method
    Description
    change(Object value)
    Produce a modified value from an old value.
  • Method Details

    • change

      Produce a modified value from an old value.

      It is strongly recommended that this method is re-entrant and does not modify the state of the Changer in a way that would affect future return -values.

      Parameters:
      value - the old value Object
      Returns:
      the new value Object
      Throws:
      ParserException - if value could not be changed