示例#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);
 }