Пример #1
0
 /** Convenience method */
 protected String encodeTextArea(String s) {
   return HtmlUtil.encode(s, HtmlUtil.ENCODE_TEXTAREA);
 }
Пример #2
0
 /** Convenience method */
 protected String encodeAttr(String s) {
   return HtmlUtil.encode(s, HtmlUtil.ENCODE_ATTR);
 }
Пример #3
0
 /** Convenience method */
 protected String encodeText(String s) {
   return HtmlUtil.encode(s, HtmlUtil.ENCODE_TEXT);
 }