| 
JavaTM 2 Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 AttributeList 的软件包 | |
|---|---|
| javax.swing.text.html.parser | 提供默认的 HTML 解析器以及支持类。 | 
| javax.swing.text.html.parser 中 AttributeList 的使用 | 
|---|
| 声明为 AttributeList 的 javax.swing.text.html.parser 中的字段 | |
|---|---|
 AttributeList | 
Element.atts
 | 
 AttributeList | 
AttributeList.next
 | 
| 返回 AttributeList 的 javax.swing.text.html.parser 中的方法 | |
|---|---|
protected  AttributeList | 
DTD.defAttributeList(String name,
                 int type,
                 int modifier,
                 String value,
                 String values,
                 AttributeList atts)
创建并返回一个 AttributeList。 | 
 AttributeList | 
Element.getAttribute(String name)
按名称获取一个元素。  | 
 AttributeList | 
Element.getAttributeByValue(String name)
按值获取一个属性。  | 
 AttributeList | 
Element.getAttributes()
获取属性。  | 
 AttributeList | 
AttributeList.getNext()
 | 
| 参数类型为 AttributeList 的 javax.swing.text.html.parser 中的方法 | |
|---|---|
protected  AttributeList | 
DTD.defAttributeList(String name,
                 int type,
                 int modifier,
                 String value,
                 String values,
                 AttributeList atts)
创建并返回一个 AttributeList。 | 
protected  Element | 
DTD.defElement(String name,
           int type,
           boolean omitStart,
           boolean omitEnd,
           ContentModel content,
           String[] exclusions,
           String[] inclusions,
           AttributeList atts)
创建并返回一个 Element。 | 
 void | 
DTD.defineAttributes(String name,
                 AttributeList atts)
定义 Element 的属性。 | 
 Element | 
DTD.defineElement(String name,
              int type,
              boolean omitStart,
              boolean omitEnd,
              ContentModel content,
              BitSet exclusions,
              BitSet inclusions,
              AttributeList atts)
返回与指定参数匹配的 Element。 | 
| 参数类型为 AttributeList 的 javax.swing.text.html.parser 中的构造方法 | |
|---|---|
AttributeList(String name,
              int type,
              int modifier,
              String value,
              Vector<?> values,
              AttributeList next)
创建一个属性列表元素。  | 
|
  | 
JavaTM 2 Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。