| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.xml.soap.SAAJMetaFactory
public abstract class SAAJMetaFactory
      SAAJ API 中定义的工厂实现类的访问点。SAAJ 1.3 中的工厂上定义的所有 newInstance 方法都要此类实例来创建实际对象。当 SAAJ 1.2 定义的查询无法定位 Factory 实现类名称时,存在于 SAAJ 1.2 中的 newInstance() 方法(SOAPFactory 和 MessageFactory 中)的实现被更新为(并委派给)SAAJMetaFactory。 
SAAJMetaFactory 是一个服务提供者接口。在此类上没有 public 方法。
| 构造方法摘要 | |
|---|---|
| protected  | SAAJMetaFactory() | 
| 方法摘要 | |
|---|---|
| protected abstract  MessageFactory | newMessageFactory(String protocol)创建给定 String协议的MessageFactory对象。 | 
| protected abstract  SOAPFactory | newSOAPFactory(String protocol)创建给定 String协议的SOAPFactory对象。 | 
| 从类 java.lang.Object 继承的方法 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| 构造方法详细信息 | 
|---|
protected SAAJMetaFactory()
| 方法详细信息 | 
|---|
protected abstract MessageFactory newMessageFactory(String protocol)
                                             throws SOAPException 
  String 协议的 
    MessageFactory 对象。 
    
protocol - 指示该协议的 
      String 
     SOAPException - 如果在创建 MessageFactory 时出现错误
     SOAPConstants.SOAP_1_1_PROTOCOL, 
      SOAPConstants.SOAP_1_2_PROTOCOL, 
      SOAPConstants.DYNAMIC_SOAP_PROTOCOL
     
protected abstract SOAPFactory newSOAPFactory(String protocol)
                                       throws SOAPException 
  String 协议的 
    SOAPFactory 对象。 
    
protocol - 指示该协议的 
      String 
     SOAPException - 如果在创建 SOAPFactory 时出现错误
     SOAPConstants.SOAP_1_1_PROTOCOL, 
      SOAPConstants.SOAP_1_2_PROTOCOL, 
      SOAPConstants.DYNAMIC_SOAP_PROTOCOL
     | 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。