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
ConstructorDescriptionW3CAddressingExtensionHandler
(Map<String, AbstractExtensionHandler> extensionHandlerMap) W3CAddressingExtensionHandler
(Map<String, AbstractExtensionHandler> extensionHandlerMap, ErrorReceiver errReceiver) -
Method Summary
Modifier and TypeMethodDescriptionGives the namespace of an extensibility element.protected QName
boolean
handleBindingExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:binding
boolean
handlePortExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:port
Methods inherited from class com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
doHandleExtension, getExtensionHandlers, handleMIMEPartExtension
Methods 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:TWSDLExtensionHandler
Gives the namespace of an extensibility element.
For example a soap 1.1 XXExtensionHandler would return""http://schemas.xmlsoap.org/wsdl/soap/"
- Overrides:
getNamespaceURI
in classTWSDLExtensionHandler
-
getWSDLExtensionQName
-
handleBindingExtension
public boolean handleBindingExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandler
Callback forwsdl:binding
- Overrides:
handleBindingExtension
in 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
required
attribute set to true
-
handlePortExtension
Description copied from class:TWSDLExtensionHandler
Callback forwsdl:port
- Overrides:
handlePortExtension
in 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
required
attribute set to true
-