Package com.sun.xml.ws.api.databinding
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 Summary
Enum Constants Enum Constant Description DocumentBareBare style mapping of a document style with literal use wsdl:operationDocumentWrapperWrapper style mapping of a document style with literal use wsdl:operationRpcEncodedThe mapping style of a RPC style with encoded use wsdl:operation.RpcLiteralThe mapping style of a RPC style with literal use wsdl:operationUnspecificedThe mapping style is not specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisBare()booleanisDocument()booleanisDocumentWrapper()booleanisLiteral()booleanisRpc()static SoapBodyStylevalueOf(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.
-
-
-
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 nameNullPointerException- 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()
-
-