|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.wsdl.common.WSDLElementImpl | +--oracle.wsdl.extension.soap.SOAPBody
SOAPBody represents soap:body element which is used to specify how the message parts appear inside the SOAP body element for both RPC-oriented or document-oriented messages.
Constructor Summary | |
SOAPBody(int use)
Initialize with use value. |
Method Summary |
Type | Method |
---|---|
void |
addPart(java.lang.String part)
Add a part that will appear within the SOAP body portion of an envelope |
java.lang.String |
getElementName()
Get element name which is soap:body |
SOAPEncodingStyle |
getEncodingStyle()
Get encodingStyle |
java.lang.String |
getNamespaceURI()
Get namspace URI |
java.util.List |
getParts()
Get the parts that will appear within the SOAP body portion of an envelope |
int |
getUse()
Get the use value |
void |
removePart(java.lang.String part)
Remove a part that would appear within the SOAP body portion of an envelope |
void |
serialize(java.io.PrintWriter writer,
boolean indent,
int indentLevel)
Serialize this WSDL element |
void |
setEncodingStyle(SOAPEncodingStyle encodingStyle)
Set encodingStyle |
void |
setNamespaceURI(java.lang.String namespaceURI)
Set namespace URI |
void |
setUse(int use)
Set the use value |
Methods inherited from class oracle.wsdl.common.WSDLElementImpl |
getChildWSDLElements, getOwnerDefinitions, getParent, setParent, validateExtensionsRecursively |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.wsdl.internal.WSDLElement |
getOwnerDefinitions, getParent |
Constructor Detail |
public SOAPBody(int use)
use
- the use valueMethod Detail |
public java.lang.String getElementName()
getElementName
in interface ExtensibilityElement
public java.util.List getParts()
public void addPart(java.lang.String part)
part
- the name of partpublic void removePart(java.lang.String part)
part
- the name of part to removepublic int getUse()
public void setUse(int use)
use
- SOAPConstants.USE_LITERAL for literal, or SOAPConstants.USE_ENCODED for encodedpublic SOAPEncodingStyle getEncodingStyle()
public void setEncodingStyle(SOAPEncodingStyle encodingStyle)
encodingStyle
- a list of URIspublic java.lang.String getNamespaceURI()
public void setNamespaceURI(java.lang.String namespaceURI)
namespaceURI
- the namespace to setpublic void serialize(java.io.PrintWriter writer, boolean indent, int indentLevel)
WSDLElement
serialize
in interface WSDLElement
oracle.wsdl.internal.WSDLElement
writer
- a print writer as a sinkindent
- indicates whether indentation will be applied to serializationindentLevel
- the levels of indentation starting from 0.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |