public HtmlSanitizer.Policy apply(@Nonnull HtmlStreamEventReceiver out) {
    return new ElementAndAttributePolicyBasedSanitizerPolicy(
        postprocessor.wrap(out), policies, textContainers);
  }
public HtmlSanitizer . Policy apply ( @ Nonnull HtmlStreamEventReceiver out ) { return new ElementAndAttributePolicyBasedSanitizerPolicy ( postprocessor . wrap ( out ) , policies , textContainers ) ; }
Produces a sanitizer that emits tokens to {@code out}.