org.ws4d.java.wsdl.soap12
Class SOAP12DocumentLiteralHTTPBindingBuilder

java.lang.Object
  extended by org.ws4d.java.wsdl.soap12.SOAP12DocumentLiteralHTTPBindingBuilder
All Implemented Interfaces:
WSDLBindingBuilder

public class SOAP12DocumentLiteralHTTPBindingBuilder
extends java.lang.Object
implements WSDLBindingBuilder


Constructor Summary
SOAP12DocumentLiteralHTTPBindingBuilder()
           
 
Method Summary
 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)
          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)
          Reads an extension element to an input element within a WSDL binding definition from the supplied element parser parser.
 void 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)
          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 parser)
          Parses an extension section within a WSDL port definition and returns a WSDLPort instance representing the port together with its extension.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAP12DocumentLiteralHTTPBindingBuilder

public SOAP12DocumentLiteralHTTPBindingBuilder()
Method Detail

getNamespace

public java.lang.String getNamespace()
Description copied from interface: WSDLBindingBuilder
Returns the namespace URI, which uniquely characterizes the specific binding for which this binding builder is responsible.

Specified by:
getNamespace in interface WSDLBindingBuilder
Returns:
the binding-specific URI for this binding builder

getBinding

public WSDLBinding getBinding()
Description copied from interface: WSDLBindingBuilder
Returns the resulting binding after processing all binding-specific information within a WSDL binding definition. This method should be called after processing all extensibility elements of the WSDL binding definition by means of the following methods WSDLBindingBuilder.parseBindingExtension(QName, QName, ElementParser) , WSDLBindingBuilder.parseOperationExtension(String, ElementParser) , WSDLBindingBuilder.parseInputExtension(String, ElementParser), WSDLBindingBuilder.parseOutputExtension(String, ElementParser) and WSDLBindingBuilder.parseFaultExtension(String, ElementParser) . Otherwise, it should return null.

Specified by:
getBinding in interface WSDLBindingBuilder
Returns:
the resulting binding or null, if still no binding was processed

parseBindingExtension

public void parseBindingExtension(QName bindingName,
                                  QName portType,
                                  ElementParser parser)
                           throws UnsupportedBindingException
Description copied from interface: WSDLBindingBuilder
Reads an extension element to a binding WSDL definition from the supplied element parser parser.

Specified by:
parseBindingExtension in interface WSDLBindingBuilder
Parameters:
bindingName - the fully qualified name of the surrounding binding element
portType - the fully qualified name of the port type to which the surrounding binding refers
parser - the element parser from which to obtain the binding extension element
Throws:
UnsupportedBindingException - in case a binding extension is found during parsing which doesn't conform to the expectations of this binding builder instance

parseOperationExtension

public void parseOperationExtension(java.lang.String operationName,
                                    ElementParser parser)
                             throws UnsupportedBindingException
Description copied from interface: WSDLBindingBuilder
Reads an extension element to an operation element within a WSDL binding definition from the supplied element parser parser.

Specified by:
parseOperationExtension in interface WSDLBindingBuilder
Parameters:
operationName - the local name of the surrounding operation element
parser - the element parser from which to obtain the operation-related binding extension element
Throws:
UnsupportedBindingException - in case a operation-related binding extension is found during parsing which doesn't conform to the expectations of this binding builder instance

parseInputExtension

public void parseInputExtension(java.lang.String inputName,
                                ElementParser parser)
                         throws UnsupportedBindingException
Description copied from interface: WSDLBindingBuilder
Reads an extension element to an input element within a WSDL binding definition from the supplied element parser parser.

Specified by:
parseInputExtension in interface WSDLBindingBuilder
Parameters:
inputName - the local name of the surrounding input element
parser - the element parser from which to obtain the input-related binding extension element
Throws:
UnsupportedBindingException - in case an input-related binding extension is found during parsing which doesn't conform to the expectations of this binding builder instance

parseOutputExtension

public void parseOutputExtension(java.lang.String outputName,
                                 ElementParser parser)
                          throws UnsupportedBindingException
Description copied from interface: WSDLBindingBuilder
Reads an extension element to an output element within a WSDL binding definition from the supplied element parser parser.

Specified by:
parseOutputExtension in interface WSDLBindingBuilder
Parameters:
outputName - the local name of the surrounding output element
parser - the element parser from which to obtain the output-related binding extension element
Throws:
UnsupportedBindingException - in case an output-related binding extension is found during parsing which doesn't conform to the expectations of this binding builder instance

parseFaultExtension

public void parseFaultExtension(java.lang.String faultName,
                                ElementParser parser)
                         throws UnsupportedBindingException
Description copied from interface: WSDLBindingBuilder
Reads an extension element to a fault element within a WSDL binding definition from the supplied element parser parser.

Specified by:
parseFaultExtension in interface WSDLBindingBuilder
Parameters:
faultName - the local name of the surrounding fault element
parser - the element parser from which to obtain the fault-related binding extension element
Throws:
UnsupportedBindingException - in case a fault-related binding extension is found during parsing which doesn't conform to the expectations of this binding builder instance

parsePortExtension

public WSDLPort parsePortExtension(java.lang.String portName,
                                   QName bindingName,
                                   ElementParser parser)
Description copied from interface: WSDLBindingBuilder
Parses an extension section within a WSDL port definition and returns a WSDLPort instance representing the port together with its extension.

Specified by:
parsePortExtension in interface WSDLBindingBuilder
Parameters:
portName - the name of the port
bindingName - the name of the binding to which the port refers
parser - the element parser from which to obtain the extension information
Returns:
a concrete WSDL port instance containing any extensibility information found during parsing