public class ParseEventDelegator extends Object implements ParseEventHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
WILDCARD_TAG_NAME |
| Constructor and Description |
|---|
ParseEventDelegator() |
public static final String WILDCARD_TAG_NAME
public void init()
public void handleNode(ParseContext context, org.htmlparser.Node node) throws IOException
handleNode in interface ParseEventHandlerIOExceptionpublic void addCloseTagHandler(CloseTagHandler v)
public void addCloseTagHandler(CloseTagHandler v, String name)
public void handleCloseTagNode(ParseContext context, org.htmlparser.nodes.TagNode node) throws IOException
IOExceptionpublic void addOpenTagHandler(OpenTagHandler v)
public void addOpenTagHandler(OpenTagHandler v, String name)
public void handleOpenTagNode(ParseContext context, org.htmlparser.nodes.TagNode node) throws IOException
IOExceptionpublic void addCSSTextHandler(CSSTextHandler v)
public void handleCSSTextNode(ParseContext context, org.htmlparser.nodes.TextNode node) throws IOException
IOExceptionpublic void addJSTextHandler(JSTextHandler v)
public void handleJSTextNode(ParseContext context, org.htmlparser.nodes.TextNode node) throws IOException
IOExceptionpublic void addRemarkTextHandler(RemarkTextHandler v)
public void handleRemarkTextNode(ParseContext context, org.htmlparser.nodes.RemarkNode node) throws IOException
IOExceptionpublic void addContentTextHandler(ContentTextHandler v)
public void handleContentTextNode(ParseContext context, org.htmlparser.nodes.TextNode node) throws IOException
IOExceptionpublic void addParseCompleteHandler(ParseCompleteHandler v)
public void handleParseComplete(ParseContext context) throws IOException
handleParseComplete in interface ParseEventHandlerIOExceptionpublic void addParseStartHandler(ParseStartHandler v)
public void handleParseStart(ParseContext context) throws IOException
handleParseStart in interface ParseEventHandlerIOExceptionpublic List<ParseEventDelegatorVisitor> getParserVisitors()
public void setParserVisitors(List<ParseEventDelegatorVisitor> parserVisitors)
parserVisitors - the parserVisitors to setCopyright © 2005–2015 IIPC. All rights reserved.