public class TagBalancingHtmlStreamEventReceiver extends Object implements HtmlStreamEventReceiver
<p>1<p>2
, the wrapped receiver will
see events equivalent to <p>1</p><p>2</p>
.Constructor and Description |
---|
TagBalancingHtmlStreamEventReceiver(HtmlStreamEventReceiver underlying) |
Modifier and Type | Method and Description |
---|---|
void |
closeDocument() |
void |
closeTag(String elementName) |
void |
openDocument() |
void |
openTag(String elementName,
List<String> attrs) |
void |
setNestingLimit(int limit) |
void |
text(String text) |
public TagBalancingHtmlStreamEventReceiver(HtmlStreamEventReceiver underlying)
public void setNestingLimit(int limit)
public void openDocument()
openDocument
in interface HtmlStreamEventReceiver
public void closeDocument()
closeDocument
in interface HtmlStreamEventReceiver
public void openTag(String elementName, List<String> attrs)
openTag
in interface HtmlStreamEventReceiver
attrs
- alternating attribute names and values.public void closeTag(String elementName)
closeTag
in interface HtmlStreamEventReceiver
public void text(String text)
text
in interface HtmlStreamEventReceiver
Copyright © 2016 OWASP. All rights reserved.