JavaTM 2 Platform
Standard Ed. 6

类 javax.swing.text.html.parser.TagElement
的使用

使用 TagElement 的软件包
javax.swing.text.html.parser 提供默认的 HTML 解析器以及支持类。 
 

javax.swing.text.html.parserTagElement 的使用
 

返回 TagElementjavax.swing.text.html.parser 中的方法
protected  TagElement Parser.makeTag(Element elem)
           
protected  TagElement Parser.makeTag(Element elem, boolean fictional)
          制作 TagElement。
 

参数类型为 TagElementjavax.swing.text.html.parser 中的方法
protected  void DocumentParser.handleEmptyTag(TagElement tag)
          处理空标记。
protected  void Parser.handleEmptyTag(TagElement tag)
          在遇到空标记时调用。
protected  void DocumentParser.handleEndTag(TagElement tag)
          处理结束标记。
protected  void Parser.handleEndTag(TagElement tag)
          在遇到结束标记时调用。
protected  void DocumentParser.handleStartTag(TagElement tag)
          处理开始标记。
protected  void Parser.handleStartTag(TagElement tag)
          在遇到开始标记时调用。
protected  void Parser.startTag(TagElement tag)
          处理开始标记。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only