Modifier and Type | Field | Description |
---|---|---|
static HtmlStreamEventProcessor |
HtmlStreamEventProcessor.Processors.IDENTITY |
A post-processor that returns the sink without wrapping it to do any
additional work.
|
Modifier and Type | Method | Description |
---|---|---|
static HtmlStreamEventProcessor |
HtmlStreamEventProcessor.Processors.compose(HtmlStreamEventProcessor g,
HtmlStreamEventProcessor f) |
Modifier and Type | Method | Description |
---|---|---|
static HtmlStreamEventProcessor |
HtmlStreamEventProcessor.Processors.compose(HtmlStreamEventProcessor g,
HtmlStreamEventProcessor f) |
|
static void |
HtmlSanitizer.sanitize(java.lang.String html,
HtmlSanitizer.Policy policy,
HtmlStreamEventProcessor preprocessor) |
Sanitizes the given HTML by applying the given policy to it.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.withPostprocessor(HtmlStreamEventProcessor pp) |
Inserts a post-processor into the pipeline between the policy and the
output sink.
|
HtmlPolicyBuilder |
HtmlPolicyBuilder.withPreprocessor(HtmlStreamEventProcessor pp) |
Inserts a pre-processor into the pipeline between the lexer and the policy.
|
Copyright © 2019 OWASP. All rights reserved.