|
Java API Reference for Oracle Infrastructure Web Services 11 Release 1 (11.1.1) E10654-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OracleSOAPElement
Oracle proprietary extension to the standard SAAJ interface SOAPElement. Currently it contains MTOM/XOP related methods.
Field Summary |
---|
Method Summary | |
---|---|
DataHandler |
getDataHandler() Gets the DataHandler object for this OracleSOAPElement object. |
void |
setDataHandler(DataHandler datahandler) Sets the given DataHandler object as the data handler for this OracleSOAPElement object. |
Methods inherited from interface javax.xml.soap.Node |
---|
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue |
Methods inherited from interface org.w3c.dom.Element |
---|
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Method Detail |
---|
DataHandler getDataHandler() throws SOAPException
DataHandler
object for this OracleSOAPElement
object. This method assumes the element is of type xsd:base64Binary, either in native base64 string form or MTOM/XOP attachment form. Results of calling of this method on elements of other types are undefined. This method can be called irrespective of whether the associated SOAPMessage
is packaged in MTOM/XOP format.DataHandler
object created from the MTOM/XOP attachment associated with this OracleSOAPElement
or the only text node of this OracleSOAPElement
.SOAPException
- Thrown when the above conditions do not apply, e.g. this OracleSOAPElement
has child elements.void setDataHandler(DataHandler datahandler)
DataHandler
object as the data handler for this OracleSOAPElement
object. When the SOAPMessage
containing this element is serialized into MTOM/XOP format, a MIME part will be created out of this DataHandler
. When this SOAPMessage
is serialized into other formats, the bytes read from this DataHandler
will be encoded into a base64 string and set as the only child of this OracleSOAPElement
. See oracle.j2ee.ws.saaj.soap.MessageImpl
for properties to be set on SOAPMessage
to serialize message into various formats. Typically, on an incoming message, the data handler is automatically set. When a message is being created and populated with content, the setDataHandler
method can be used to include data from various sources.datahandler
- DataHandler
object to be set.IllegalArgumentException
- Thrown when the data handler is invalid.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |