|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.xfire.annotations.soap.SOAPBindingAnnotation
public class SOAPBindingAnnotation
Represents an common representation of a soap binding annotation. Specifies the mapping of the Web Service onto the SOAP message protocol.
| Field Summary | |
|---|---|
static int |
PARAMETER_STYLE_BARE
Constant used to specify a bare parameter binding style. |
static int |
PARAMETER_STYLE_WRAPPED
Constant used to specify a wrapped parameter binding style. |
static int |
STYLE_DOCUMENT
Constant used to specify a document binding style. |
static int |
STYLE_RPC
Constant used to specify a rpc binding style. |
static int |
USE_ENCODED
Constant used to specify a encoded binding use. |
static int |
USE_LITERAL
Constant used to specify a literal binding use. |
| Constructor Summary | |
|---|---|
SOAPBindingAnnotation()
|
|
| Method Summary | |
|---|---|
int |
getParameterStyle()
Returns the SOAP parameter binding style. |
int |
getStyle()
Returns the SOAP binding style, which defines the encoding style for messages send to and from the Web Service. |
java.lang.String |
getStyleString()
Returns a String representation of the SOAP binding style. |
int |
getUse()
Returns the SOAP binding use, which defines the formatting style for messages sent to and from the Web Service. |
java.lang.String |
getUseString()
Returns a String representation of the SOAP binding use. |
void |
setParameterStyle(int parameterStyle)
Sets the SOAP parameter binding style. |
void |
setStyle(int style)
Sets the SOAP binding style, which defines the encoding style for messages send to and from the Web Service. |
void |
setUse(int use)
Sets the SOAP binding use, which defines the formatting style for messages sent to and from the Web Service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STYLE_DOCUMENT
public static final int STYLE_RPC
public static final int USE_LITERAL
public static final int USE_ENCODED
public static final int PARAMETER_STYLE_BARE
public static final int PARAMETER_STYLE_WRAPPED
| Constructor Detail |
|---|
public SOAPBindingAnnotation()
| Method Detail |
|---|
public int getStyle()
STYLE_DOCUMENT or STYLE_RPC.
public java.lang.String getStyleString()
String representation of the SOAP binding style. The returned value is one of SoapConstants.STYLE_DOCUMENT or SoapConstants.STYLE_RPC.
String.SoapConstantspublic void setStyle(int style)
STYLE_DOCUMENT or STYLE_RPC.
style - the new binding style.
java.lang.IllegalArgumentException - if style is not a valid style.public int getUse()
USE_LITERAL or USE_ENCODED.
public java.lang.String getUseString()
String representation of the SOAP binding use. The returned value is one of SoapConstants.USE_ENCODED or SoapConstants.USE_LITERAL.
String.SoapConstantspublic void setUse(int use)
USE_LITERAL or USE_ENCODED.
use - the new binding use.
java.lang.IllegalArgumentException - if use is not a valid use.public int getParameterStyle()
PARAMETER_STYLE_BARE or PARAMETER_STYLE_WRAPPED.
public void setParameterStyle(int parameterStyle)
PARAMETER_STYLE_BARE or PARAMETER_STYLE_WRAPPED.
parameterStyle - the new SOAP parameter binding style.
java.lang.IllegalArgumentException - if parameterStyle is not a valid parameter style.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||