com.sun.xml.ws.api.databinding
Enum SoapBodyStyle

java.lang.Object
  extended by java.lang.Enum<SoapBodyStyle>
      extended by com.sun.xml.ws.api.databinding.SoapBodyStyle
All Implemented Interfaces:
Serializable, Comparable<SoapBodyStyle>

public enum SoapBodyStyle
extends Enum<SoapBodyStyle>

The SoapBodyStyle represents the possible choices of the mapping styles between the SOAP body of a wsdl:operation input/output messages and JAVA method parameters and return/output values.


Enum Constant Summary
DocumentBare
          Bare style mapping of a document style with literal use wsdl:operation
DocumentWrapper
          Wrapper style mapping of a document style with literal use wsdl:operation
RpcEncoded
          The mapping style of a RPC style with encoded use wsdl:operation.
RpcLiteral
          The mapping style of a RPC style with literal use wsdl:operation
Unspecificed
          The mapping style is not specified.
 
Method Summary
 boolean isBare()
           
 boolean isDocument()
           
 boolean isDocumentWrapper()
           
 boolean isLiteral()
           
 boolean isRpc()
           
static SoapBodyStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SoapBodyStyle[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DocumentBare

public static final SoapBodyStyle DocumentBare
Bare style mapping of a document style with literal use wsdl:operation


DocumentWrapper

public static final SoapBodyStyle DocumentWrapper
Wrapper style mapping of a document style with literal use wsdl:operation


RpcLiteral

public static final SoapBodyStyle RpcLiteral
The mapping style of a RPC style with literal use wsdl:operation


RpcEncoded

public static final SoapBodyStyle RpcEncoded
The mapping style of a RPC style with encoded use wsdl:operation. Note: this is not offically supported in JAX-WS.


Unspecificed

public static final SoapBodyStyle Unspecificed
The mapping style is not specified.

Method Detail

values

public static SoapBodyStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SoapBodyStyle c : SoapBodyStyle.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SoapBodyStyle valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isDocument

public boolean isDocument()

isRpc

public boolean isRpc()

isLiteral

public boolean isLiteral()

isBare

public boolean isBare()

isDocumentWrapper

public boolean isDocumentWrapper()


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.