Enum SoapBodyStyle

java.lang.Object
java.lang.Enum<SoapBodyStyle>
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.
Author:
shih-chang.chen@oracle.com
  • Enum Constant Details

    • 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 Details

    • values

      public static SoapBodyStyle[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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()