| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 TagElement 的软件包 | |
|---|---|
| javax.swing.text.html.parser | 提供默认的 HTML 解析器以及支持类。 | 
| javax.swing.text.html.parser 中 TagElement 的使用 | 
|---|
| 返回 TagElement 的 javax.swing.text.html.parser 中的方法 | |
|---|---|
protected  TagElement | 
Parser.makeTag(Element elem)
 | 
protected  TagElement | 
Parser.makeTag(Element elem,
        boolean fictional)
制作 TagElement。  | 
| 参数类型为 TagElement 的 javax.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 Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。