public interface WSDLBindingBuilder
| Modifier and Type | Method and Description |
|---|---|
WSDLBinding |
buildBinding(QName name,
QName type) |
WSDLBinding |
getBinding()
Returns the resulting binding after processing all binding-specific information within a WSDL
binding definition.
|
java.lang.String |
getNamespace()
Returns the namespace URI, which uniquely characterizes the specific binding for which this
binding builder is responsible.
|
void |
parseBindingExtension(QName bindingName,
QName portType,
ElementParser parser)
Reads an extension element to a binding WSDL definition from the supplied element parser
parser. |
void |
parseFaultExtension(java.lang.String faultName,
ElementParser parser,
java.lang.String operationName)
Reads an extension element to a fault element within a WSDL binding definition from the
supplied element parser
parser. |
void |
parseInputExtension(java.lang.String inputName,
ElementParser parser,
java.lang.String operationName)
Reads an extension element to an input element within a WSDL binding definition from the
supplied element parser
parser. |
java.lang.String |
parseOperationExtension(java.lang.String operationName,
ElementParser parser)
Reads an extension element to an operation element within a WSDL binding definition from the
supplied element parser
parser. |
void |
parseOutputExtension(java.lang.String outputName,
ElementParser parser,
java.lang.String operationName)
Reads an extension element to an output element within a WSDL binding definition from the
supplied element parser
parser. |
WSDLPort |
parsePortExtension(java.lang.String portName,
QName bindingName,
ElementParser childParser)
Parses an extension section within a WSDL port definition and returns a
WSDLPort
instance representing the port together with its extension. |
void |
setWSDL(WSDL wsdl) |
java.lang.String getNamespace()
void parseBindingExtension(QName bindingName, QName portType, ElementParser parser) throws UnsupportedBindingException
parser.bindingName - the fully qualified name of the surrounding binding elementportType - the fully qualified name of the port type to which the surrounding binding refersparser - the element parser from which to obtain the binding extension elementUnsupportedBindingException - in case a binding extension is found during parsing which doesn't conform to the expectations of this
binding builder instancejava.lang.String parseOperationExtension(java.lang.String operationName,
ElementParser parser)
throws UnsupportedBindingException
parser.operationName - the local name of the surrounding operation elementparser - the element parser from which to obtain the operation-related binding extension elementUnsupportedBindingException - in case a operation-related binding extension is found during parsing which doesn't conform to the
expectations of this binding builder instancevoid parseInputExtension(java.lang.String inputName,
ElementParser parser,
java.lang.String operationName)
throws UnsupportedBindingException
parser.inputName - the local name of the surrounding input elementparser - the element parser from which to obtain the input-related binding extension elementUnsupportedBindingException - in case an input-related binding extension is found during parsing which doesn't conform to the
expectations of this binding builder instancevoid parseOutputExtension(java.lang.String outputName,
ElementParser parser,
java.lang.String operationName)
throws UnsupportedBindingException
parser.outputName - the local name of the surrounding output elementparser - the element parser from which to obtain the output-related binding extension elementUnsupportedBindingException - in case an output-related binding extension is found during parsing which doesn't conform to the
expectations of this binding builder instancevoid parseFaultExtension(java.lang.String faultName,
ElementParser parser,
java.lang.String operationName)
throws UnsupportedBindingException
parser.faultName - the local name of the surrounding fault elementparser - the element parser from which to obtain the fault-related binding extension elementUnsupportedBindingException - in case a fault-related binding extension is found during parsing which doesn't conform to the
expectations of this binding builder instanceWSDLBinding getBinding()
parseBindingExtension(QName, QName, ElementParser) , parseOperationExtension(String, ElementParser) , WSDLBindingBuilder#parseInputExtension(String, ElementParser), WSDLBindingBuilder#parseOutputExtension(String, ElementParser) and WSDLBindingBuilder#parseFaultExtension(String, ElementParser) . Otherwise, it should return
null.null, if still no binding was processedWSDLPort parsePortExtension(java.lang.String portName, QName bindingName, ElementParser childParser)
WSDLPort
instance representing the port together with its extension.portName - the name of the portbindingName - the name of the binding to which the port referschildParser - the element parser from which to obtain the extension informationWSDLBinding buildBinding(QName name, QName type)
void setWSDL(WSDL wsdl)