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