Package org.languagetool.markup
Class MappingValue
- java.lang.Object
-
- org.languagetool.markup.MappingValue
-
class MappingValue extends java.lang.Object
A fake markup data object giving information on the impact of the fake markup. UseAnnotatedTextBuilder
to create objects of this type.- Since:
- 4.8
-
-
Field Summary
Fields Modifier and Type Field Description private int
fakeMarkupLength
private int
totalPosition
-
Constructor Summary
Constructors Constructor Description MappingValue(int totalPosition)
MappingValue(int totalPosition, int fakeMarkupLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
getFakeMarkupLength()
(package private) int
getTotalPosition()
-