com.oracle.webservices.api
Enum EnvelopeStyle.Style

java.lang.Object
  extended by java.lang.Enum<EnvelopeStyle.Style>
      extended by com.oracle.webservices.api.EnvelopeStyle.Style
All Implemented Interfaces:
Serializable, Comparable<EnvelopeStyle.Style>
Enclosing class:
EnvelopeStyle

public static enum EnvelopeStyle.Style
extends Enum<EnvelopeStyle.Style>


Enum Constant Summary
SOAP11
          SOAP1.1.
SOAP12
          SOAP1.2.
XML
          The raw XML.
 
Field Summary
 String bindingId
          The BindingID used by the BindingType annotation.
 
Method Summary
 boolean isSOAP11()
          Checks if the style is SOAP 1.1.
 boolean isSOAP12()
          Checks if the style is SOAP 1.2.
 boolean isXML()
          Checks if the style is XML.
static EnvelopeStyle.Style valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EnvelopeStyle.Style[] 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

SOAP11

public static final EnvelopeStyle.Style SOAP11
SOAP1.1. For JAX-WS, this is mapped from: javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING


SOAP12

public static final EnvelopeStyle.Style SOAP12
SOAP1.2. For JAX-WS, this is mapped from: javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING


XML

public static final EnvelopeStyle.Style XML
The raw XML. For JAX-WS, this is mapped from: javax.xml.ws.http.HTTPBinding.HTTP_BINDING

Field Detail

bindingId

public final String bindingId
The BindingID used by the BindingType annotation.

Method Detail

values

public static EnvelopeStyle.Style[] 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 (EnvelopeStyle.Style c : EnvelopeStyle.Style.values())
    System.out.println(c);

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

valueOf

public static EnvelopeStyle.Style 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

isSOAP11

public boolean isSOAP11()
Checks if the style is SOAP 1.1.

Returns:
true if the style is SOAP 1.1.

isSOAP12

public boolean isSOAP12()
Checks if the style is SOAP 1.2.

Returns:
true if the style is SOAP 1.2.

isXML

public boolean isXML()
Checks if the style is XML.

Returns:
true if the style is XML.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.