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
public class W3CAddressingExtensionHandler extends AbstractExtensionHandler
- Author:
- Arun Gupta
-
-
Constructor Summary
Constructors Constructor Description W3CAddressingExtensionHandler(Map<String,AbstractExtensionHandler> extensionHandlerMap)
W3CAddressingExtensionHandler(Map<String,AbstractExtensionHandler> extensionHandlerMap, ErrorReceiver errReceiver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNamespaceURI()
Gives the namespace of an extensibility element.protected QName
getWSDLExtensionQName()
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 Detail
-
W3CAddressingExtensionHandler
public W3CAddressingExtensionHandler(Map<String,AbstractExtensionHandler> extensionHandlerMap)
-
W3CAddressingExtensionHandler
public W3CAddressingExtensionHandler(Map<String,AbstractExtensionHandler> extensionHandlerMap, ErrorReceiver errReceiver)
-
-
Method Detail
-
getNamespaceURI
public String 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
protected QName 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
public boolean handlePortExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
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
-
-