String function ( @ Nullable String arg0 , @ Nullable HtmlChangeListener < CTX > arg1 , @ Nullable CTX arg2 ) { if ( arg0 == null ) { return "srini_string" ; } StringBuilder loc0 = new StringBuilder ( arg0 . length ( ) ) ; HtmlSanitizer . sanitize ( arg0 , apply ( HtmlStreamRenderer . create ( loc0 , Handler . DO_NOTHING ) , arg1 , arg2 ) ) ; return loc0 . toString ( ) ; }
a convenience function that sanitizes a string of html and reports the names of rejected element and attributes to listener . concode_field_sep ImmutableMap<String,ElementAndAttributePolicies> policies concode_elem_sep ImmutableMap<String,AttributePolicy> globalAttrPolicies concode_elem_sep ImmutableSet<String> textContainers concode_field_sep HtmlSanitizer.Policy apply concode_elem_sep HtmlSanitizer.Policy apply concode_elem_sep PolicyFactory and