Package org.bndly.common.html
Class DefaultHandler
- java.lang.Object
-
- org.bndly.common.html.DefaultHandler
-
- All Implemented Interfaces:
Handler
- Direct Known Subclasses:
ContentBuildingHandler,PrettyPrintHandler
public class DefaultHandler extends Object implements Handler
The default handler is an empty no-op HTML parsing callback handler. It can be used as a base when creating a custom handler.- Author:
- cybercon <bndly@cybercon.de>
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultHandlerNO_OP
-
Constructor Summary
Constructors Constructor Description DefaultHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclosedTag(Tag tag)voidonEntity(Entity entity)voidonSelfClosingTag(SelfClosingTag tag)voidonText(Text text)voidopenedTag(Tag tag)
-
-
-
Field Detail
-
NO_OP
public static final DefaultHandler NO_OP
-
-
Method Detail
-
onSelfClosingTag
public void onSelfClosingTag(SelfClosingTag tag)
- Specified by:
onSelfClosingTagin interfaceHandler
-
-