Package com.sun.tools.ws.wsdl.parser
Class W3CAddressingExtensionHandler
java.lang.Object
com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
com.sun.tools.ws.wsdl.parser.W3CAddressingExtensionHandler
- Direct Known Subclasses:
MemberSubmissionAddressingExtensionHandler
- Author:
- Arun Gupta
-
Constructor Summary
ConstructorsConstructorDescriptionW3CAddressingExtensionHandler(Map<String, AbstractExtensionHandler> extensionHandlerMap) W3CAddressingExtensionHandler(Map<String, AbstractExtensionHandler> extensionHandlerMap, ErrorReceiver errReceiver) -
Method Summary
Modifier and TypeMethodDescriptionGives the namespace of an extensibility element.protected QNamebooleanhandleBindingExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:bindingbooleanhandlePortExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:portMethods inherited from class com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
doHandleExtension, getExtensionHandlers, handleMIMEPartExtensionMethods inherited from class com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
handleDefinitionsExtension, handleFaultExtension, handleInputExtension, handleOperationExtension, handleOutputExtension, handlePortTypeExtension, handleServiceExtension, handleTypesExtension
-
Constructor Details
-
W3CAddressingExtensionHandler
-
W3CAddressingExtensionHandler
public W3CAddressingExtensionHandler(Map<String, AbstractExtensionHandler> extensionHandlerMap, ErrorReceiver errReceiver)
-
-
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
-
getWSDLExtensionQName
-
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
-
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
-