org.jboss.axis.enums
Class Style

java.lang.Object
  extended byorg.jboss.axis.enums.Enum (src) 
      extended byorg.jboss.axis.enums.Style

public class Style
extends Enum (src)

Description of the different styles
style=rpc, use=encoded
First element of the SOAP body is the operation. The operation contains elements describing the parameters, which are serialized as encoded (possibly multi-ref)

   <soap:body>
      <operation>
         <arg1>...</arg1>
         <arg2>...</arg2>
      </operation>
 

style=RPC, use=literal
First element of the SOAP body is the operation. The operation contains elements describing the parameters, which are serialized as encoded (no multi-ref)\
   <soap:body>
      <operation>
         <arg1>...</arg1>
         <arg2>...</arg2>
      </operation>
 

style=document, use=literal
Elements of the SOAP body are the names of the parameters (there is no wrapper operation...no multi-ref)
   <soap:body>
         <arg1>...</arg1>
         <arg2>...</arg2>
 

style=wrapped
Special case of DOCLIT where there is only one parameter and it has the same qname as the operation. In such cases, there is no actual type with the name...the elements are treated as parameters to the operation
   <soap:body>
      <one-arg-same-name-as-operation>
         <elemofarg1>...</elemofarg1>
         <elemofarg2>...</elemofarg2>
 

style=document, use=encoded
There is not an enclosing operation name element, but the parmeterss are encoded using SOAP encoding This mode is not (well?) supported by Axis.


Nested Class Summary
static class Style.Type (src)
           
 
Field Summary
static Style (src) DEFAULT
           
static Style (src) DOCUMENT
           
static java.lang.String DOCUMENT_STR
           
static Style (src) MESSAGE
           
static java.lang.String MESSAGE_STR
           
static Style (src) RPC
           
static java.lang.String RPC_STR
           
static Style (src) WRAPPED
           
static java.lang.String WRAPPED_STR
           
 
Fields inherited from class org.jboss.axis.enums.Enum (src)
name, value
 
Method Summary
static Style (src) getDefault()
           
 QName (src) getProvider()
           
static Style (src) getStyle(int style)
           
static Style (src) getStyle(java.lang.String style)
           
static Style (src) getStyle(java.lang.String style, Style (src)  dephault)
           
static java.lang.String[] getStyles()
           
static boolean isValid(java.lang.String style)
           
static int size()
           
 
Methods inherited from class org.jboss.axis.enums.Enum (src)
equals, equals, getName, getType, getValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RPC_STR

public static final java.lang.String RPC_STR
See Also:
Constant Field Values (src)

DOCUMENT_STR

public static final java.lang.String DOCUMENT_STR
See Also:
Constant Field Values (src)

WRAPPED_STR

public static final java.lang.String WRAPPED_STR
See Also:
Constant Field Values (src)

MESSAGE_STR

public static final java.lang.String MESSAGE_STR
See Also:
Constant Field Values (src)

RPC

public static final Style (src)  RPC

DOCUMENT

public static final Style (src)  DOCUMENT

WRAPPED

public static final Style (src)  WRAPPED

MESSAGE

public static final Style (src)  MESSAGE

DEFAULT

public static final Style (src)  DEFAULT
Method Detail

getDefault

public static Style (src)  getDefault()

getProvider

public final QName (src)  getProvider()

getStyle

public static final Style (src)  getStyle(int style)

getStyle

public static final Style (src)  getStyle(java.lang.String style)

getStyle

public static final Style (src)  getStyle(java.lang.String style,
                                   Style (src)  dephault)

isValid

public static final boolean isValid(java.lang.String style)

size

public static final int size()

getStyles

public static final java.lang.String[] getStyles()