Package com.sun.tools.ws.wsdl.parser
Class W3CAddressingMetadataExtensionHandler
java.lang.Object
com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
com.sun.tools.ws.wsdl.parser.W3CAddressingMetadataExtensionHandler
This extension parses the WSDL Metadata extensibility elements in the wsdl definitions.
This class looks for wsam:Action attribute on wsdl:input, wsdl:output, wsdl:fault elements and sets the action value
in the wsdl model so that it can be used to generate correpsonding annotations on SEI.
- Author:
- Rama Pulavarthi
-
Constructor Summary
ConstructorsConstructorDescriptionW3CAddressingMetadataExtensionHandler(Map<String, AbstractExtensionHandler> extensionHandlerMap, ErrorReceiver errReceiver) -
Method Summary
Modifier and TypeMethodDescriptionGives the namespace of an extensibility element.booleanhandleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:faultbooleanhandleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:inputbooleanhandleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:outputMethods inherited from class com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
doHandleExtension, getExtensionHandlers, handleMIMEPartExtensionMethods inherited from class com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
handleBindingExtension, handleDefinitionsExtension, handleOperationExtension, handlePortExtension, handlePortTypeExtension, handleServiceExtension, handleTypesExtension
-
Constructor Details
-
W3CAddressingMetadataExtensionHandler
public W3CAddressingMetadataExtensionHandler(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
-
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
-
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
-