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。