@ Override public Object getData ( ) { Object data = super . getData ( ) ; if ( isRichTextArea ( ) && isSanitizeOnOutput ( ) && data != null ) { return sanitizeOutputText ( data . toString ( ) ) ; } return data ; }
The data for this WTextArea . If the text area is not rich text its output is XML escaped so we can ignore sanitization . If the text area is a rich text area then we check the sanitizeOnOutput flag as sanitization is rather resource intensive .