Package org.languagetool.markup
Class MappingValue
java.lang.Object
org.languagetool.markup.MappingValue
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionMappingValue
(int totalPosition) MappingValue
(int totalPosition, int fakeMarkupLength) -
Method Summary
Modifier and TypeMethodDescription(package private) int
(package private) int
-
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()
-