public class OffsetTrackingDecodedXmlValue
extends java.lang.Object
| Constructor and Description |
|---|
OffsetTrackingDecodedXmlValue(java.lang.CharSequence encodedValue)
Creates a decoded value for the given XML-encoded character sequence.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.CharSequence |
getDecodedCharacters()
Returns the unescaped value.
|
int |
getEncodedOffset(int decodedOffset)
Returns the offset in the original XML-encoded value given an offset in the decoded value.
|
public OffsetTrackingDecodedXmlValue(@NonNull
java.lang.CharSequence encodedValue)
public java.lang.CharSequence getDecodedCharacters()
public int getEncodedOffset(int decodedOffset)
decodedOffset - the offset in the decoded value