/** * @see org.htmlparser.Node#doSemanticAction() */ public void doSemanticAction() throws ParserException { m_decorated.doSemanticAction(); }
/** * @see org.htmlparser.Node#doSemanticAction() */ public void doSemanticAction() throws ParserException { m_decorated.doSemanticAction(); }
/** * @see org.htmlparser.Node#doSemanticAction() */ public void doSemanticAction() throws ParserException { m_decorated.doSemanticAction(); }
/** * Scan the tag. * For this implementation, the only operation is to perform the tag's * semantic action. * @param tag The tag to scan. * @param lexer Provides html page access. * @param stack The parse stack. May contain pending tags that enclose * this tag. * @return The resultant tag (may be unchanged). */ public Tag scan (Tag tag, Lexer lexer, NodeList stack) throws ParserException { tag.doSemanticAction (); return (tag); } }
/** * Finish off a tag. * Perhap add a virtual end tag. * Set the end tag parent as this tag. * Perform the semantic acton. * @param tag The tag to finish off. * @param lexer A lexer positioned at the end of the tag. */ protected void finishTag (Tag tag, Lexer lexer) throws ParserException { if (null == tag.getEndTag ()) tag.setEndTag (createVirtualEndTag (tag, lexer, lexer.getPage (), lexer.getCursor ().getPosition ())); tag.getEndTag ().setParent (tag); tag.doSemanticAction (); }