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