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
ConstructorDescriptionSOAPExtensionHandler
(Map<String, AbstractExtensionHandler> extensionHandlerMap) -
Method Summary
Modifier and TypeMethodDescriptionprotected QName
protected QName
protected QName
protected QName
protected QName
protected QName
Gives the namespace of an extensibility element.protected QName
protected SOAPBinding
getSOAPBinding
(Locator location) boolean
handleBindingExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:binding
boolean
handleDefinitionsExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:definitions
boolean
handleFaultExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:fault
boolean
handleInputExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:input
protected boolean
handleInputOutputExtension
(TWSDLParserContext contextif, TWSDLExtensible parent, Element e) protected boolean
handleMIMEPartExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:mime
boolean
handleOperationExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:portType/wsdl:operation
.boolean
handleOutputExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:output
boolean
handlePortExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:port
boolean
handlePortTypeExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:portType
boolean
handleServiceExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:service
boolean
handleTypesExtension
(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:type
Methods inherited from class com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
doHandleExtension, getExtensionHandlers
-
Constructor Details
-
SOAPExtensionHandler
-
-
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
-
handleDefinitionsExtension
public boolean handleDefinitionsExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandler
Callback forwsdl:definitions
- Overrides:
handleDefinitionsExtension
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
-
handleTypesExtension
Description copied from class:TWSDLExtensionHandler
Callback forwsdl:type
- Overrides:
handleTypesExtension
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
-
getSOAPBinding
-
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
-
handleOperationExtension
public boolean handleOperationExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandler
Callback forwsdl:portType/wsdl:operation
.- Overrides:
handleOperationExtension
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
-
handleInputExtension
Description copied from class:TWSDLExtensionHandler
Callback forwsdl:input
- Overrides:
handleInputExtension
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
-
handleOutputExtension
Description copied from class:TWSDLExtensionHandler
Callback forwsdl:output
- Overrides:
handleOutputExtension
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
-
handleMIMEPartExtension
protected boolean handleMIMEPartExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:AbstractExtensionHandler
Callback forwsdl:mime
- Overrides:
handleMIMEPartExtension
in 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
required
attribute set to true
-
handleInputOutputExtension
protected boolean handleInputOutputExtension(TWSDLParserContext contextif, TWSDLExtensible parent, Element e) -
handleFaultExtension
Description copied from class:TWSDLExtensionHandler
Callback forwsdl:fault
- Overrides:
handleFaultExtension
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
-
handleServiceExtension
public boolean handleServiceExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandler
Callback forwsdl:service
- Overrides:
handleServiceExtension
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
-
handlePortTypeExtension
public boolean handlePortTypeExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:TWSDLExtensionHandler
Callback forwsdl:portType
- Overrides:
handlePortTypeExtension
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
-
getBodyQName
-
getHeaderQName
-
getHeaderfaultQName
-
getOperationQName
-
getFaultQName
-
getAddressQName
-
getBindingQName
-