public void setCharTranslator ( CharacterTranslator charTranslator ) { if ( charTranslator != null ) { this . charTranslator = charTranslator ; this . htmlElementTranslator = null ; this . targetTranslator = null ; } }
Sets the character translator . It will also remove any other translator set . Nothing will happen if the argument is null .