Package com.sun.tools.ws.api.wsdl
Class TWSDLExtensionHandler
- java.lang.Object
-
- com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
-
- Direct Known Subclasses:
AbstractExtensionHandler,Policy12ExtensionHandler,Policy15ExtensionHandler
public abstract class TWSDLExtensionHandler extends Object
Deprecated.This class is deprecated, will be removed in JAX-WS 2.2 RI.JAXWS WSDL parserWSDLParserwill call anTWSDLExtensionHandlerregistered with it for the WSDL extensibility elements thats not already defined in the WSDL 1.1 spec, such as SOAP or MIME.- Author:
- Vivek Pandey
-
-
Constructor Summary
Constructors Constructor Description TWSDLExtensionHandler()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleandoHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.This interface is called during WSDL parsing on detecting any wsdl extension.StringgetNamespaceURI()Deprecated.Gives the namespace of an extensibility element.booleanhandleBindingExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:bindingbooleanhandleDefinitionsExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:definitionsbooleanhandleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:faultbooleanhandleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:inputbooleanhandleOperationExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:portType/wsdl:operation.booleanhandleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:outputbooleanhandlePortExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:portbooleanhandlePortTypeExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:portTypebooleanhandleServiceExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:servicebooleanhandleTypesExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)Deprecated.Callback forwsdl:type
-
-
-
Method Detail
-
getNamespaceURI
public String getNamespaceURI()
Deprecated.Gives the namespace of an extensibility element. For example a soap 1.1 XXExtensionHandler would return""http://schemas.xmlsoap.org/wsdl/soap/"
-
doHandleExtension
public boolean doHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.This interface is called during WSDL parsing on detecting any wsdl extension.- 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
-
handlePortTypeExtension
public boolean handlePortTypeExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:portType- 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
-
handleDefinitionsExtension
public boolean handleDefinitionsExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:definitions- 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
-
handleTypesExtension
public boolean handleTypesExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:type- 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
-
handleBindingExtension
public boolean handleBindingExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:binding- 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
-
handleOperationExtension
public boolean handleOperationExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:portType/wsdl:operation.- 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
-
handleInputExtension
public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:input- 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
public boolean handleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:output- 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
public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:fault- 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
-
handleServiceExtension
public boolean handleServiceExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:service- 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
public boolean handlePortExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
Deprecated.Callback forwsdl:port- 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
-
-