|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.xml.soap Class SAAJResult
java.lang.Object javax.xml.transform.dom.DOMResult javax.xml.soap.SAAJResult
- 所有已实现的接口:
- Result
public class SAAJResult
- extends DOMResult
Acts as a holder for the results of a JAXP transformation or a JAXB
marshalling, in the form of a SAAJ tree. These results should be accessed
by using the getResult()
method. The DOMResult.getNode()
method should be avoided in almost all cases.
- 从以下版本开始:
- SAAJ 1.3
- 作者:
- XWS-Security Development Team
字段摘要 |
---|
Fields inherited from class javax.xml.transform.dom.DOMResult |
---|
FEATURE |
Fields inherited from interface javax.xml.transform.Result |
---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
构造器摘要 | |
---|---|
SAAJResult()
Creates a SAAJResult that will present results in the form
of a SAAJ tree that supports the default (SOAP 1.1) protocol. |
|
SAAJResult(SOAPElement rootNode)
Creates a SAAJResult that will write the results as a
child node of the SOAPElement specified. |
|
SAAJResult(SOAPMessage message)
Creates a SAAJResult that will write the results into the
SOAPPart of the supplied SOAPMessage . |
|
SAAJResult(String protocol)
Creates a SAAJResult that will present results in the form
of a SAAJ tree that supports the specified protocol. |
方法摘要 | |
---|---|
Node |
getResult()
|
类方法继承 javax.xml.transform.dom.DOMResult |
---|
getNextSibling, getNode, getSystemId, setNextSibling, setNode, setSystemId |
类方法继承 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造器详细信息 |
---|
SAAJResult
public SAAJResult() throws SOAPException
- Creates a
SAAJResult
that will present results in the form of a SAAJ tree that supports the default (SOAP 1.1) protocol.This kind of
SAAJResult
is meant for use in situations where the results will be used as a parameter to a method that takes a parameter whose type, such asSOAPElement
, is drawn from the SAAJ API. When used in a transformation, the results are populated into theSOAPPart
of aSOAPMessage
that is created internally. TheSOAPPart
returned byDOMResult.getNode()
is not guaranteed to be well-formed.- 抛出异常:
SOAPException
- if there is a problem creating aSOAPMessage
- 从以下版本开始:
- SAAJ 1.3
SAAJResult
public SAAJResult(String protocol) throws SOAPException
- Creates a
SAAJResult
that will present results in the form of a SAAJ tree that supports the specified protocol. TheDYNAMIC_SOAP_PROTOCOL
is ambiguous in this context and will cause this constructor to throw anUnsupportedOperationException
.This kind of
SAAJResult
is meant for use in situations where the results will be used as a parameter to a method that takes a parameter whose type, such asSOAPElement
, is drawn from the SAAJ API. When used in a transformation the results are populated into theSOAPPart
of aSOAPMessage
that is created internally. TheSOAPPart
returned byDOMResult.getNode()
is not guaranteed to be well-formed.- 参数:
protocol
- - the name of the SOAP protocol that the resulting SAAJ tree should support- 抛出异常:
SOAPException
- if aSOAPMessage
supporting the specified protocol cannot be created- 从以下版本开始:
- SAAJ 1.3
SAAJResult
public SAAJResult(SOAPMessage message)
- Creates a
SAAJResult
that will write the results into theSOAPPart
of the suppliedSOAPMessage
. In the normal case these results will be written using DOM APIs and, as a result, the finishedSOAPPart
will not be guaranteed to be well-formed unless the data used to create it is also well formed. When used in a transformation the validity of theSOAPMessage
after the transformation can be guaranteed only by means outside SAAJ specification.- 参数:
message
- - the message whoseSOAPPart
will be populated as a result of some transformation or marshalling operation- 从以下版本开始:
- SAAJ 1.3
SAAJResult
public SAAJResult(SOAPElement rootNode)
- Creates a
SAAJResult
that will write the results as a child node of theSOAPElement
specified. In the normal case these results will be written using DOM APIs and as a result may invalidate the structure of the SAAJ tree. This kind ofSAAJResult
should only be used when the validity of the incoming data can be guaranteed by means outside of the SAAJ specification.- 参数:
rootNode
- - the root to which the results will be appended- 从以下版本开始:
- SAAJ 1.3
方法详细信息 |
---|
getResult
public Node getResult()
- 返回:
- the resulting Tree that was created under the specified root Node.
- 从以下版本开始:
- SAAJ 1.3
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.