Package com.sun.tools.ws.wsdl.parser
Class SOAPExtensionHandler
java.lang.Object
com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
com.sun.tools.ws.wsdl.parser.SOAPExtensionHandler
- Direct Known Subclasses:
SOAP12ExtensionHandler
The SOAP extension handler for WSDL.
- Author:
- WS Development Team
-
Constructor Summary
ConstructorsConstructorDescriptionSOAPExtensionHandler(Map<String, AbstractExtensionHandler> extensionHandlerMap) -
Method Summary
Modifier and TypeMethodDescriptionprotected QNameprotected QNameprotected QNameprotected QNameprotected QNameprotected QNameGives the namespace of an extensibility element.protected QNameprotected SOAPBindinggetSOAPBinding(Locator location) booleanhandleBindingExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:bindingbooleanhandleDefinitionsExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:definitionsbooleanhandleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:faultbooleanhandleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:inputprotected booleanhandleInputOutputExtension(TWSDLParserContext contextif, TWSDLExtensible parent, Element e) protected booleanhandleMIMEPartExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:mimebooleanhandleOperationExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:portType/wsdl:operation.booleanhandleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:outputbooleanhandlePortExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:portbooleanhandlePortTypeExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:portTypebooleanhandleServiceExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:servicebooleanhandleTypesExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:typeMethods inherited from class com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
doHandleExtension, getExtensionHandlers
-
Constructor Details
-
SOAPExtensionHandler
-
-
Method Details
-
getNamespaceURI
Description copied from class:TWSDLExtensionHandlerGives the namespace of an extensibility element.
For example a soap 1.1 XXExtensionHandler would return""http://schemas.xmlsoap.org/wsdl/soap/"- Overrides:
getNamespaceURIin classTWSDLExtensionHandler
-
handleDefinitionsExtension
public boolean handleDefinitionsExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandlerCallback forwsdl:definitions- Overrides:
handleDefinitionsExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
handleTypesExtension
Description copied from class:TWSDLExtensionHandlerCallback forwsdl:type- Overrides:
handleTypesExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
getSOAPBinding
-
handleBindingExtension
public boolean handleBindingExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandlerCallback forwsdl:binding- Overrides:
handleBindingExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
handleOperationExtension
public boolean handleOperationExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandlerCallback forwsdl:portType/wsdl:operation.- Overrides:
handleOperationExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
handleInputExtension
Description copied from class:TWSDLExtensionHandlerCallback forwsdl:input- Overrides:
handleInputExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
handleOutputExtension
Description copied from class:TWSDLExtensionHandlerCallback forwsdl:output- Overrides:
handleOutputExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
handleMIMEPartExtension
protected boolean handleMIMEPartExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:AbstractExtensionHandlerCallback forwsdl:mime- Overrides:
handleMIMEPartExtensionin classAbstractExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
handleInputOutputExtension
protected boolean handleInputOutputExtension(TWSDLParserContext contextif, TWSDLExtensible parent, Element e) -
handleFaultExtension
Description copied from class:TWSDLExtensionHandlerCallback forwsdl:fault- Overrides:
handleFaultExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
handleServiceExtension
public boolean handleServiceExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandlerCallback forwsdl:service- Overrides:
handleServiceExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
handlePortExtension
Description copied from class:TWSDLExtensionHandlerCallback forwsdl:port- Overrides:
handlePortExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
handlePortTypeExtension
public boolean handlePortTypeExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandlerCallback forwsdl:portType- Overrides:
handlePortTypeExtensionin classTWSDLExtensionHandler- Parameters:
context- Parser context that will be passed on by the wsdl parserparent- The Parent element within which the extensibility element is definede- The extensibility elemenet- Returns:
- false if there was some error during the extension handling otherwise returns true. If returned false
then the WSDL parser can abort if the wsdl extensibility element had
requiredattribute set to true
-
getBodyQName
-
getHeaderQName
-
getHeaderfaultQName
-
getOperationQName
-
getFaultQName
-
getAddressQName
-
getBindingQName
-