org.htmlparser.Tag.doSemanticAction()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(154)

本文整理了Java中org.htmlparser.Tag.doSemanticAction()方法的一些代码示例,展示了Tag.doSemanticAction()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Tag.doSemanticAction()方法的具体详情如下:
包路径:org.htmlparser.Tag
类名称:Tag
方法名:doSemanticAction

Tag.doSemanticAction介绍

暂无

代码示例

代码示例来源:origin: com.bbossgroups.pdp/pdp-cms

/**
 * @see org.htmlparser.Node#doSemanticAction()
 */
public void doSemanticAction() throws ParserException {
  m_decorated.doSemanticAction();
}

代码示例来源:origin: org.opencms/opencms-core

/**
 * @see org.htmlparser.Node#doSemanticAction()
 */
public void doSemanticAction() throws ParserException {
  m_decorated.doSemanticAction();
}

代码示例来源:origin: org.opencms/opencms-solr

/**
 * @see org.htmlparser.Node#doSemanticAction()
 */
public void doSemanticAction() throws ParserException {
  m_decorated.doSemanticAction();
}

代码示例来源:origin: com.bbossgroups/bboss-htmlparser

/**
   * 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);
  }
}

代码示例来源:origin: com.bbossgroups/bboss-htmlparser

tag.doSemanticAction ();

代码示例来源:origin: com.bbossgroups/bboss-htmlparser

/**
 * 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 ();
}

代码示例来源:origin: com.bbossgroups/bboss-htmlparser

tag.doSemanticAction ();

代码示例来源:origin: com.bbossgroups/bboss-htmlparser

tag.doSemanticAction ();

相关文章