JavaTM 2 Platform
Standard Ed. 6

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

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

javax.swing.text.html.parser 中 ContentModel 的使用
 

声明为 ContentModel 的 javax.swing.text.html.parser 中的字段
 ContentModel Element.content
           
 ContentModel ContentModel.next
          下一个内容模式(使用 ','、'|' 或 '&' 表达式)。
 

返回 ContentModel 的 javax.swing.text.html.parser 中的方法
protected  ContentModel DTD.defContentModel(int type, Object obj, ContentModel next)
          创建并返回一个新的内容模式。
 ContentModel Element.getContent()
          获取内容模式
 

参数类型为 ContentModel 的 javax.swing.text.html.parser 中的方法
protected  ContentModel DTD.defContentModel(int type, Object obj, ContentModel next)
          创建并返回一个新的内容模式。
protected  Element DTD.defElement(String name, int type, boolean omitStart, boolean omitEnd, ContentModel content, String[] exclusions, String[] inclusions, AttributeList atts)
          创建并返回一个 Element。
 Element DTD.defineElement(String name, int type, boolean omitStart, boolean omitEnd, ContentModel content, BitSet exclusions, BitSet inclusions, AttributeList atts)
          返回与指定参数匹配的 Element。
 

参数类型为 ContentModel 的 javax.swing.text.html.parser 中的构造方法
ContentModel(int type, ContentModel content)
          创建一个特定类型的内容模式。
ContentModel(int type, Object content, ContentModel next)
          创建一个特定类型的内容模式。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

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