com.sun.tools.ws.wsdl.parser
Class MemberSubmissionAddressingExtensionHandler

java.lang.Object
  extended by com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler
      extended by com.sun.tools.ws.wsdl.parser.AbstractExtensionHandler
          extended by com.sun.tools.ws.wsdl.parser.W3CAddressingExtensionHandler
              extended by com.sun.tools.ws.wsdl.parser.MemberSubmissionAddressingExtensionHandler

public class MemberSubmissionAddressingExtensionHandler
extends W3CAddressingExtensionHandler


Constructor Summary
MemberSubmissionAddressingExtensionHandler(Map<String,AbstractExtensionHandler> extensionHandlerMap, ErrorReceiver env, boolean extensionModeOn)
           
 
Method Summary
 String getNamespaceURI()
          Gives the namespace of an extensibility element.
protected  QName getWSDLExtensionQName()
           
 boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
          Callback for wsdl:fault
 boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
          Callback for wsdl:input
 boolean handleOutputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
          Callback for wsdl:output
 boolean handlePortExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e)
          Callback for wsdl:port
 
Methods inherited from class com.sun.tools.ws.wsdl.parser.W3CAddressingExtensionHandler
handleBindingExtension
 
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, handleOperationExtension, handlePortTypeExtension, handleServiceExtension, handleTypesExtension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemberSubmissionAddressingExtensionHandler

public MemberSubmissionAddressingExtensionHandler(Map<String,AbstractExtensionHandler> extensionHandlerMap,
                                                  ErrorReceiver env,
                                                  boolean extensionModeOn)
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 class W3CAddressingExtensionHandler

getWSDLExtensionQName

protected QName getWSDLExtensionQName()
Overrides:
getWSDLExtensionQName in class W3CAddressingExtensionHandler

handlePortExtension

public boolean handlePortExtension(TWSDLParserContext context,
                                   TWSDLExtensible parent,
                                   Element e)
Description copied from class: TWSDLExtensionHandler
Callback for wsdl:port

Overrides:
handlePortExtension in class W3CAddressingExtensionHandler
Parameters:
context - Parser context that will be passed on by the wsdl parser
parent - The Parent element within which the extensibility element is defined
e - 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

public boolean handleInputExtension(TWSDLParserContext context,
                                    TWSDLExtensible parent,
                                    Element e)
Description copied from class: TWSDLExtensionHandler
Callback for wsdl:input

Overrides:
handleInputExtension in class TWSDLExtensionHandler
Parameters:
context - Parser context that will be passed on by the wsdl parser
parent - The Parent element within which the extensibility element is defined
e - 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

public boolean handleOutputExtension(TWSDLParserContext context,
                                     TWSDLExtensible parent,
                                     Element e)
Description copied from class: TWSDLExtensionHandler
Callback for wsdl:output

Overrides:
handleOutputExtension in class TWSDLExtensionHandler
Parameters:
context - Parser context that will be passed on by the wsdl parser
parent - The Parent element within which the extensibility element is defined
e - 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

handleFaultExtension

public boolean handleFaultExtension(TWSDLParserContext context,
                                    TWSDLExtensible parent,
                                    Element e)
Description copied from class: TWSDLExtensionHandler
Callback for wsdl:fault

Overrides:
handleFaultExtension in class TWSDLExtensionHandler
Parameters:
context - Parser context that will be passed on by the wsdl parser
parent - The Parent element within which the extensibility element is defined
e - 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


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.