| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Attributes 的软件包 | |
|---|---|
| org.xml.sax | 此包提供了核心 SAX API。 | 
| org.xml.sax.ext | 此包包含适合的 SAX 驱动程序不一定支持的 SAX2 设施的接口。 | 
| org.xml.sax.helpers | 此包包含“帮助器”类,其中包括对引导基于 SAX 的应用程序的支持。 | 
| org.xml.sax 中 Attributes 的使用 | 
|---|
| 参数类型为 Attributes 的 org.xml.sax 中的方法 | |
|---|---|
|  void | ContentHandler.startElement(String uri,
             String localName,
             String qName,
             Attributes atts)接收元素开始的通知。 | 
| org.xml.sax.ext 中 Attributes 的使用 | 
|---|
| org.xml.sax.ext 中 Attributes 的子接口 | |
|---|---|
|  interface | Attributes2SAX2 扩展,用于扩充通过 Attributes提供的每个属性信息。 | 
| 实现 Attributes 的 org.xml.sax.ext 中的类 | |
|---|---|
|  class | Attributes2Impl用于附加的 Attributes 信息的、实现 Attributes2接口的 SAX2 扩展帮助器。 | 
| 参数类型为 Attributes 的 org.xml.sax.ext 中的方法 | |
|---|---|
|  void | Attributes2Impl.setAttributes(Attributes atts)复制整个属性对象。 | 
| 参数类型为 Attributes 的 org.xml.sax.ext 中的构造方法 | |
|---|---|
| Attributes2Impl(Attributes atts)复制现有属性或 Attributes2 对象。 | |
| org.xml.sax.helpers 中 Attributes 的使用 | 
|---|
| 实现 Attributes 的 org.xml.sax.helpers 中的类 | |
|---|---|
|  class | AttributesImplAttributes 接口的默认实现。 | 
| 参数类型为 Attributes 的 org.xml.sax.helpers 中的方法 | |
|---|---|
|  void | AttributesImpl.setAttributes(Attributes atts)复制整个 Attributes 对象。 | 
|  void | DefaultHandler.startElement(String uri,
             String localName,
             String qName,
             Attributes attributes)接收元素开始的通知。 | 
|  void | XMLReaderAdapter.startElement(String uri,
             String localName,
             String qName,
             Attributes atts)适配 SAX2 开始元素事件。 | 
|  void | XMLFilterImpl.startElement(String uri,
             String localName,
             String qName,
             Attributes atts)过滤一个开始元素事件。 | 
| 参数类型为 Attributes 的 org.xml.sax.helpers 中的构造方法 | |
|---|---|
| AttributesImpl(Attributes atts)复制现有 Attributes 对象。 | |
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。