public class BindingEntry extends SymTabEntry
Modifier and Type | Class and Description |
---|---|
protected static class |
BindingEntry.OperationAttr
Contains attributes for Operations
- Body type: encoded or literal
|
Modifier and Type | Field and Description |
---|---|
static int |
IN_HEADER
Field IN_HEADER
|
static int |
NO_HEADER
Get the flag indicating what sort of header this part is.
|
static int |
OUT_HEADER
Field OUT_HEADER
|
static int |
TYPE_HTTP_GET
Field TYPE_HTTP_GET
|
static int |
TYPE_HTTP_POST
Field TYPE_HTTP_POST
|
static int |
TYPE_SOAP
Field TYPE_SOAP
|
static int |
TYPE_UNKNOWN
Field TYPE_UNKNOWN
|
static int |
USE_ENCODED
Field USE_ENCODED
|
static int |
USE_LITERAL
Field USE_LITERAL
|
name, qname
Constructor and Description |
---|
BindingEntry(javax.wsdl.Binding binding)
This is a minimal constructor.
|
BindingEntry(javax.wsdl.Binding binding,
int bindingType,
Style bindingStyle,
boolean hasLiteral,
HashMap attributes,
Map mimeTypes,
Map headerParts)
Construct a BindingEntry from a WSDL4J Binding object and the additional binding info:
binding type, binding style, whether there is any literal binding, and the attributes which
contain the input/output/fault body type information.
|
Modifier and Type | Method and Description |
---|---|
javax.wsdl.Binding |
getBinding()
Get this entry's WSDL4J Binding object.
|
Style |
getBindingStyle()
Get this entry's binding style.
|
int |
getBindingType()
Get this entry's binding type.
|
Use |
getFaultBodyType(javax.wsdl.Operation operation,
String faultName)
Get the fault body type for the given fault of the given operation.
|
HashMap |
getFaults()
Return the map of BindingOperations to ArraList of FaultBodyType
|
Map |
getHeaderParts()
Get the header parameter map.
|
Use |
getInputBodyType(javax.wsdl.Operation operation)
Get the input body type for the given operation.
|
MimeInfo |
getMIMEInfo(String operationName,
String parameterName)
Get the mime mapping for the given parameter name.
|
Map |
getMIMETypes()
Get the MIME types map.
|
Set |
getOperations()
Get a
Set of comprised Operation objects. |
Use |
getOutputBodyType(javax.wsdl.Operation operation)
Get the output body type for the given operation.
|
HashMap |
getParameters()
Get all of the parameters for all operations.
|
Parameters |
getParameters(javax.wsdl.Operation operation)
Get the Parameters object for the given operation.
|
boolean |
hasLiteral()
Do any of the message stanzas contain a soap:body which uses literal?
|
boolean |
isInHeaderPart(String operationName,
String partName)
Is this part an input header part?.
|
boolean |
isOperationDIME(String operationName)
Check if this operation should use DIME
|
boolean |
isOutHeaderPart(String operationName,
String partName)
Is this part an output header part?.
|
protected void |
setBindingStyle(Style bindingStyle)
Set this entry's binding style.
|
protected void |
setBindingType(int bindingType)
Set this entry's binding type.
|
protected void |
setBodyType(javax.wsdl.Operation operation,
Use bodyType,
boolean input)
Set the body type for the given operation.
|
protected void |
setFaultBodyTypeMap(javax.wsdl.Operation operation,
HashMap faultBodyTypeMap)
Set the fault body type map for the given operation.
|
void |
setFaults(HashMap faults)
Method setFaults
|
protected void |
setHasLiteral(boolean hasLiteral)
Set the literal flag.
|
void |
setHeaderPart(String operationName,
String partName,
int headerFlags)
Set the header part mapping for the given part name.
|
protected void |
setInputBodyType(javax.wsdl.Operation operation,
Use inputBodyType)
Set the input body type for the given operation.
|
void |
setMIMEInfo(String operationName,
String parameterName,
String type,
String dims)
Set the mime mapping for the given parameter name.
|
void |
setOperationDIME(String operationName)
Mark the operation as a DIME operation
|
protected void |
setOutputBodyType(javax.wsdl.Operation operation,
Use outputBodyType)
Set the output body type for the given operation.
|
void |
setParameters(HashMap parameters)
Set the parameters for all operations
|
getDynamicVar, getName, getQName, isReferenced, setDynamicVar, setIsReferenced, setName, toString, toString
public static final int TYPE_SOAP
public static final int TYPE_HTTP_GET
public static final int TYPE_HTTP_POST
public static final int TYPE_UNKNOWN
public static final int USE_ENCODED
public static final int USE_LITERAL
public static final int NO_HEADER
public static final int IN_HEADER
public static final int OUT_HEADER
public BindingEntry(javax.wsdl.Binding binding, int bindingType, Style bindingStyle, boolean hasLiteral, HashMap attributes, Map mimeTypes, Map headerParts)
binding
- bindingType
- bindingStyle
- hasLiteral
- attributes
- mimeTypes
- headerParts
- public BindingEntry(javax.wsdl.Binding binding)
binding
- public Parameters getParameters(javax.wsdl.Operation operation)
operation
- public HashMap getParameters()
public void setParameters(HashMap parameters)
parameters
- public MimeInfo getMIMEInfo(String operationName, String parameterName)
operationName
- parameterName
- public Map getMIMETypes()
public void setMIMEInfo(String operationName, String parameterName, String type, String dims)
operationName
- parameterName
- type
- dims
- public void setOperationDIME(String operationName)
operationName
- public boolean isOperationDIME(String operationName)
operationName
- public boolean isInHeaderPart(String operationName, String partName)
operationName
- partName
- public boolean isOutHeaderPart(String operationName, String partName)
operationName
- partName
- public Map getHeaderParts()
public void setHeaderPart(String operationName, String partName, int headerFlags)
operationName
- partName
- headerFlags
- public javax.wsdl.Binding getBinding()
public int getBindingType()
protected void setBindingType(int bindingType)
bindingType
- public Style getBindingStyle()
protected void setBindingStyle(Style bindingStyle)
bindingStyle
- public boolean hasLiteral()
protected void setHasLiteral(boolean hasLiteral)
hasLiteral
- public Use getInputBodyType(javax.wsdl.Operation operation)
operation
- protected void setInputBodyType(javax.wsdl.Operation operation, Use inputBodyType)
operation
- inputBodyType
- public Use getOutputBodyType(javax.wsdl.Operation operation)
operation
- protected void setOutputBodyType(javax.wsdl.Operation operation, Use outputBodyType)
operation
- outputBodyType
- protected void setBodyType(javax.wsdl.Operation operation, Use bodyType, boolean input)
operation
- bodyType
- input
- public Use getFaultBodyType(javax.wsdl.Operation operation, String faultName)
operation
- faultName
- public HashMap getFaults()
public void setFaults(HashMap faults)
faults
- protected void setFaultBodyTypeMap(javax.wsdl.Operation operation, HashMap faultBodyTypeMap)
operation
- faultBodyTypeMap
- Copyright © The Apache Software Foundation. All Rights Reserved.