public boolean shouldEncode ( Encoder encoderToApply , EncodingState encodingState ) { return ignoreEncodingState || ( encoderToApply != null && ( encodingState == null || shouldEncodeWith ( encoderToApply , encodingState ) ) ) ; }
Check if the encoder should be used to a input with certain encodingState