public interface EncodingStateRegistry
| Modifier and Type | Method and Description |
|---|---|
EncodingState |
getEncodingStateFor(java.lang.CharSequence string)
Gets the current encoding state for a CharSequence.
|
boolean |
isEncodedWith(Encoder encoder,
java.lang.CharSequence string)
Checks if the CharSequence is encoded with encoder.
|
void |
registerEncodedWith(Encoder encoder,
java.lang.CharSequence escaped)
Registers that the CharSequence has been encoded with encoder
|
boolean |
shouldEncodeWith(Encoder encoderToApply,
java.lang.CharSequence string)
Checks if a encoder should be applied to a CharSequence
|
EncodingState getEncodingStateFor(java.lang.CharSequence string)
string - a CharSequenceboolean shouldEncodeWith(Encoder encoderToApply, java.lang.CharSequence string)
encoderToApply - the encoder to applystring - a CharSequenceboolean isEncodedWith(Encoder encoder, java.lang.CharSequence string)
encoder - the encoderstring - a CharSequencevoid registerEncodedWith(Encoder encoder, java.lang.CharSequence escaped)
encoder - the encoderescaped - the CharSequence