org.jvnet.wom.impl.extension.wsdl11.soap
Class SOAPBodyImpl

java.lang.Object
  extended by org.jvnet.wom.impl.extension.wsdl11.soap.SOAPBodyImpl
All Implemented Interfaces:
SOAPBody, WSDLExtension

public class SOAPBodyImpl
extends java.lang.Object
implements SOAPBody

Author:
Vivek Pandey

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.wom.api.binding.wsdl11.soap.SOAPBody
SOAPBody.Use
 
Constructor Summary
SOAPBodyImpl(javax.xml.namespace.QName name)
          SOAP 1.1 and SOAP 1.2 WSDL 1.1 binding share the same properties except for the namespace.
 
Method Summary
 java.lang.String[] getEncodingStyle()
          Maybe null.
 javax.xml.namespace.QName getName()
          Gets the qualified name of the WSDL extensibility element or attribute.
 java.lang.String getNamespace()
          null when SOAPBinding.Style is Document, otherwise will be non-null.
 java.util.List<java.lang.String> getParts()
          null if parts attribute is not defined on <soap:body> element, otherwise non-null.
 SOAPBody.Use getUse()
          If not specified on <soap:body> the default value is literal.
 void setEncodingStyle(java.lang.String[] encodingStyle)
           
 void setNamespace(java.lang.String namespace)
           
 void setParts(java.lang.String[] parts)
           
 void setUse(SOAPBody.Use use)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPBodyImpl

public SOAPBodyImpl(javax.xml.namespace.QName name)
SOAP 1.1 and SOAP 1.2 WSDL 1.1 binding share the same properties except for the namespace. The name here is used to distinguish the SOAP1.1 from SOAP 1.2.

Parameters:
name - The name here is to set the soap:body or soap:12:body. Must be non-null.
Method Detail

setEncodingStyle

public void setEncodingStyle(java.lang.String[] encodingStyle)

setNamespace

public void setNamespace(java.lang.String namespace)

setUse

public void setUse(SOAPBody.Use use)

setParts

public void setParts(java.lang.String[] parts)

getEncodingStyle

public java.lang.String[] getEncodingStyle()
Maybe null. It is supposed to be non-null only for the encoded case.

Specified by:
getEncodingStyle in interface SOAPBody

getNamespace

public java.lang.String getNamespace()
null when SOAPBinding.Style is Document, otherwise will be non-null.

Specified by:
getNamespace in interface SOAPBody

getUse

public SOAPBody.Use getUse()
If not specified on <soap:body> the default value is literal.

Specified by:
getUse in interface SOAPBody

getName

public javax.xml.namespace.QName getName()
Description copied from interface: WSDLExtension
Gets the qualified name of the WSDL extensibility element or attribute.

Specified by:
getName in interface WSDLExtension
Returns:
must not be null.

getParts

public java.util.List<java.lang.String> getParts()
null if parts attribute is not defined on <soap:body> element, otherwise non-null.

Specified by:
getParts in interface SOAPBody


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.