Searched refs:HtmlTextEscapingMode (Results 1 - 8 of 8) sorted by relevance

/external/owasp/sanitizer/src/main/org/owasp/html/
H A DHtmlTextEscapingMode.java54 public enum HtmlTextEscapingMode { enum
85 private static final ImmutableMap<String, HtmlTextEscapingMode> ESCAPING_MODES
86 = ImmutableMap.<String, HtmlTextEscapingMode>builder()
140 public static HtmlTextEscapingMode getModeForTag(String canonTagName) {
141 HtmlTextEscapingMode mode = ESCAPING_MODES.get(canonTagName);
163 HtmlTextEscapingMode mode = getModeForTag(canonTagName);
H A DHtmlLexer.java284 private HtmlTextEscapingMode textEscapingMode;
306 token, (this.textEscapingMode == HtmlTextEscapingMode.RCDATA
316 if (HtmlTextEscapingMode.isTagFollowedByLiteralContent(
319 this.textEscapingMode = HtmlTextEscapingMode.getModeForTag(
474 } else if (HtmlTextEscapingMode.allowsEscapingTextSpan(
520 && textEscapingMode != HtmlTextEscapingMode.PLAIN_TEXT
H A DHtmlStreamRenderer.java162 switch (HtmlTextEscapingMode.getModeForTag(elementName)) {
207 if (HtmlTextEscapingMode.isVoidElement(elementName)) {
H A DElementAndAttributePolicies.java56 this.isVoid = HtmlTextEscapingMode.isVoidElement(elementName);
H A DElementAndAttributePolicyBasedSanitizerPolicy.java185 if (HtmlTextEscapingMode.isVoidElement(elementName)) {
H A DTagBalancingHtmlStreamEventReceiver.java281 && HtmlTextEscapingMode.isVoidElement(elementName);
998 switch (HtmlTextEscapingMode.getModeForTag(canonElementName)) {
/external/owasp/sanitizer/src/main/org/owasp/html/examples/
H A DUrlTextExample.java40 import org.owasp.html.HtmlTextEscapingMode;
92 if (HtmlTextEscapingMode.isVoidElement(elementName)) {
/external/owasp/sanitizer/distrib/lib/
H A Dowasp-java-html-sanitizer.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/owasp/ org/owasp/html/ org/owasp/html/AbstractTokenStream ...

Completed in 971 milliseconds