net.rim.device.api.io.parser.soap
Class SOAPBody

java.lang.Object
  extended by net.rim.device.api.io.parser.soap.SOAPElement
      extended by net.rim.device.api.io.parser.soap.SOAPElementContainer
          extended by net.rim.device.api.io.parser.soap.SOAPBody

public class SOAPBody
extends SOAPElementContainer

Represents the body of a SOAP message. It extends SOAPElementContainer. Other SOAPElement objects can be nested inside it.

Since:
BlackBerry API 6.0.0

Constructor Summary
SOAPBody()
          Constructs a SOAPBody.
 
Method Summary
 String getMethod()
          Returns the method for this SOAPBody.
 String getMethodNamespace()
          Returns the method namespace for this SOAPBody.
 void setMethod(String method)
          Sets the method for this SOAPBody.
 void setMethod(String method, String methodNamespace)
          Sets for the method name.
 void setMethodNamespace(String methodNamespace)
          Sets the method namespace for this SOAPBody.
 
Methods inherited from class net.rim.device.api.io.parser.soap.SOAPElementContainer
addChild, addDecimal, addInt, addLong, addSOAPPrimitive, addString, getChildAt, getChildren
 
Methods inherited from class net.rim.device.api.io.parser.soap.SOAPElement
getAttribute, getAttributes, getName, getNamespace, getType, putAttribute, setAttributes, setName, setNamespace, setType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

SOAPBody

public SOAPBody()
Constructs a SOAPBody.

Since:
BlackBerry API 6.0.0


Method Detail

getMethod

public String getMethod()
Returns the method for this SOAPBody.

Returns:
Method for this SOAPBody.
Since:
BlackBerry API 6.0.0

setMethod

public void setMethod(String method)
Sets the method for this SOAPBody.

Parameters:
method - Method for this SOAPBody.
Since:
BlackBerry API 6.0.0

getMethodNamespace

public String getMethodNamespace()
Returns the method namespace for this SOAPBody.

Returns:
Method namespace for this SOAPBody.
Since:
BlackBerry API 6.0.0

setMethodNamespace

public void setMethodNamespace(String methodNamespace)
Sets the method namespace for this SOAPBody.

Since:
BlackBerry API 6.0.0

setMethod

public void setMethod(String method,
                      String methodNamespace)
Sets for the method name. Use this for RPC-style requests only. Use when the method has a namespace.

Parameters:
method - The method of the request.
methodNamespace - The namespace to use in the method tag.
Since:
BlackBerry API 6.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.