Package com.sun.tools.ws.wsdl.parser
Class MIMEExtensionHandler
java.lang.Object
com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
com.sun.tools.ws.wsdl.parser.MIMEExtensionHandler
The MIME extension handler for WSDL.
- Author:
- WS Development Team
-
Constructor Summary
ConstructorsConstructorDescriptionMIMEExtensionHandler(Map<String, AbstractExtensionHandler> extensionHandlerMap) -
Method Summary
Modifier and TypeMethodDescriptionbooleandoHandleExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback that gets called by the WSDL parser or any other extension handler on finding an extensibility element that it can't understand.Gives the namespace of an extensibility element.protected booleanhandleInputOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) protected booleanhandleMIMEPartExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Callback forwsdl:mimeprotected MIMEContentparseMIMEContent(TWSDLParserContext context, Element e) protected MIMEXmlparseMIMEXml(TWSDLParserContext context, Element e) Methods inherited from class com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
getExtensionHandlersMethods inherited from class com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
handleBindingExtension, handleDefinitionsExtension, handleFaultExtension, handleInputExtension, handleOperationExtension, handleOutputExtension, handlePortExtension, handlePortTypeExtension, handleServiceExtension, handleTypesExtension
-
Constructor Details
-
MIMEExtensionHandler
-
-
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
-
doHandleExtension
Description copied from class:AbstractExtensionHandlerCallback that gets called by the WSDL parser or any other extension handler on finding an extensibility element that it can't understand.- Overrides:
doHandleExtensionin 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
requiredattribute set to true
-
handleInputOutputExtension
protected boolean handleInputOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) -
handleMIMEPartExtension
protected boolean handleMIMEPartExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) Description copied from class:AbstractExtensionHandlerCallback forwsdl:mime- Overrides:
handleMIMEPartExtensionin 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
requiredattribute set to true
-
parseMIMEContent
-
parseMIMEXml
-