| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.wsdl.symbolTable.SymTabEntry
org.apache.axis.wsdl.symbolTable.BindingEntry
This class represents a WSDL binding. It encompasses the WSDL4J Binding object so it can reside in the SymbolTable. It also adds a few bits of information that are a nuisance to get from the WSDL4J Binding object: binding type, binding style, input/output/fault body types.
| Nested Class Summary | |
| protected static class | BindingEntry.OperationAttrContains attributes for Operations - Body type: encoded or literal | 
| Field Summary | |
| static int | IN_HEADERField IN_HEADER | 
| static int | NO_HEADERGet the flag indicating what sort of header this part is. | 
| static int | OUT_HEADERField OUT_HEADER | 
| static int | TYPE_HTTP_GETField TYPE_HTTP_GET | 
| static int | TYPE_HTTP_POSTField TYPE_HTTP_POST | 
| static int | TYPE_SOAPField TYPE_SOAP | 
| static int | TYPE_UNKNOWNField TYPE_UNKNOWN | 
| static int | USE_ENCODEDField USE_ENCODED | 
| static int | USE_LITERALField USE_LITERAL | 
| Fields inherited from class org.apache.axis.wsdl.symbolTable.SymTabEntry | 
| name, qname | 
| Constructor Summary | |
| BindingEntry(javax.wsdl.Binding binding)This is a minimal constructor. | |
| BindingEntry(javax.wsdl.Binding binding,
             int bindingType,
             Style bindingStyle,
             boolean hasLiteral,
             java.util.HashMap attributes,
             java.util.Map mimeTypes,
             java.util.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. | |
| Method Summary | |
|  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,
                 java.lang.String faultName)Get the fault body type for the given fault of the given operation. | 
|  java.util.HashMap | getFaults()Return the map of BindingOperations to ArraList of FaultBodyType | 
|  java.util.Map | getHeaderParts()Get the header parameter map. | 
|  Use | getInputBodyType(javax.wsdl.Operation operation)Get the input body type for the given operation. | 
|  MimeInfo | getMIMEInfo(java.lang.String operationName,
            java.lang.String parameterName)Get the mime mapping for the given parameter name. | 
|  java.util.Map | getMIMETypes()Get the MIME types map. | 
|  java.util.Set | getOperations()Get a Setof comprisedOperationobjects. | 
|  Use | getOutputBodyType(javax.wsdl.Operation operation)Get the output body type for the given operation. | 
|  java.util.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(java.lang.String operationName,
               java.lang.String partName)Is this part an input header part?. | 
|  boolean | isOperationDIME(java.lang.String operationName)Check if this operation should use DIME | 
|  boolean | isOutHeaderPart(java.lang.String operationName,
                java.lang.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,
                    java.util.HashMap faultBodyTypeMap)Set the fault body type map for the given operation. | 
|  void | setFaults(java.util.HashMap faults)Method setFaults | 
| protected  void | setHasLiteral(boolean hasLiteral)Set the literal flag. | 
|  void | setHeaderPart(java.lang.String operationName,
              java.lang.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(java.lang.String operationName,
            java.lang.String parameterName,
            java.lang.String type,
            java.lang.String dims)Set the mime mapping for the given parameter name. | 
|  void | setOperationDIME(java.lang.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(java.util.HashMap parameters)Set the parameters for all operations | 
| Methods inherited from class org.apache.axis.wsdl.symbolTable.SymTabEntry | 
| getDynamicVar, getName, getQName, isReferenced, setDynamicVar, setIsReferenced, setName, toString, toString | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
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
| Constructor Detail | 
public BindingEntry(javax.wsdl.Binding binding,
                    int bindingType,
                    Style bindingStyle,
                    boolean hasLiteral,
                    java.util.HashMap attributes,
                    java.util.Map mimeTypes,
                    java.util.Map headerParts)
binding - bindingType - bindingStyle - hasLiteral - attributes - mimeTypes - headerParts - public BindingEntry(javax.wsdl.Binding binding)
binding - | Method Detail | 
public Parameters getParameters(javax.wsdl.Operation operation)
operation - 
public java.util.HashMap getParameters()
public void setParameters(java.util.HashMap parameters)
parameters - 
public MimeInfo getMIMEInfo(java.lang.String operationName,
                            java.lang.String parameterName)
operationName - parameterName - 
public java.util.Map getMIMETypes()
public void setMIMEInfo(java.lang.String operationName,
                        java.lang.String parameterName,
                        java.lang.String type,
                        java.lang.String dims)
operationName - parameterName - type - dims - public void setOperationDIME(java.lang.String operationName)
operationName - public boolean isOperationDIME(java.lang.String operationName)
operationName - 
public boolean isInHeaderPart(java.lang.String operationName,
                              java.lang.String partName)
operationName - partName - 
public boolean isOutHeaderPart(java.lang.String operationName,
                               java.lang.String partName)
operationName - partName - 
public java.util.Map getHeaderParts()
public void setHeaderPart(java.lang.String operationName,
                          java.lang.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,
                            java.lang.String faultName)
operation - faultName - 
public java.util.HashMap getFaults()
public void setFaults(java.util.HashMap faults)
faults - public java.util.Set getOperations()
Set of comprised Operation objects.
protected void setFaultBodyTypeMap(javax.wsdl.Operation operation,
                                   java.util.HashMap faultBodyTypeMap)
operation - faultBodyTypeMap - | 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||