Home
last modified time | relevance | path

Searched refs:textContainers (Results 1 – 3 of 3) sorted by relevance

/external/owasp/sanitizer/src/main/org/owasp/html/
DPolicyFactory.java58 private final ImmutableSet<String> textContainers; field in PolicyFactory
62 ImmutableSet<String> textContainers, in PolicyFactory() argument
65 this.textContainers = textContainers; in PolicyFactory()
72 out, policies, textContainers); in apply()
161 ImmutableSet<String> textContainers; in and() local
162 if (this.textContainers.containsAll(f.textContainers)) { in and()
163 textContainers = this.textContainers; in and()
164 } else if (f.textContainers.containsAll(this.textContainers)) { in and()
165 textContainers = f.textContainers; in and()
167 textContainers = ImmutableSet.<String>builder() in and()
[all …]
DHtmlPolicyBuilder.java174 private final Map<String, Boolean> textContainers = Maps.newLinkedHashMap(); field in HtmlPolicyBuilder
210 if (!textContainers.containsKey(elementName) in allowElements()
213 textContainers.put(elementName, true); in allowElements()
252 textContainers.put(elementName, true); in allowTextIn()
261 textContainers.put(elementName, false); in disallowTextIn()
484 ImmutableSet.Builder<String> textContainers = ImmutableSet.builder(); in toFactory() local
486 : this.textContainers.entrySet()) { in toFactory()
488 textContainers.add(textContainer.getKey()); in toFactory()
491 return new PolicyFactory(compilePolicies(), textContainers.build(), in toFactory()
/external/owasp/sanitizer/distrib/lib/
Dowasp-java-html-sanitizer.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/owasp/ org/ ...