text: public void inform(ResourceLoader loader) {if (encoderClass.equals("float")){encoder = new FloatEncoder();} else if (encoderClass.equals("integer")){encoder = new IntegerEncoder();} else if (encoderClass.equals("identity")){encoder = new IdentityEncoder();} else {encoder = loader.newInstance(encoderClass, PayloadEncoder.class);}}