Class MappingValue

java.lang.Object
org.languagetool.markup.MappingValue

class MappingValue extends Object
A fake markup data object giving information on the impact of the fake markup. Use AnnotatedTextBuilder to create objects of this type.
Since:
4.8
  • Field Details

    • totalPosition

      private final int totalPosition
    • fakeMarkupLength

      private final int fakeMarkupLength
  • Constructor Details

    • MappingValue

      MappingValue(int totalPosition)
    • MappingValue

      MappingValue(int totalPosition, int fakeMarkupLength)
  • Method Details

    • getTotalPosition

      int getTotalPosition()
    • getFakeMarkupLength

      int getFakeMarkupLength()