com.sun.xml.ws.model.wsdl
Class WSDLOutputImpl

java.lang.Object
  extended by com.sun.xml.ws.model.wsdl.AbstractObjectImpl
      extended by com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
          extended by com.sun.xml.ws.model.wsdl.WSDLOutputImpl
All Implemented Interfaces:
WSDLExtensible, WSDLObject, WSDLOutput

public final class WSDLOutputImpl
extends AbstractExtensibleImpl
implements WSDLOutput


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
AbstractExtensibleImpl.UnknownWSDLExtension
 
Field Summary
 
Fields inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
extensions, notUnderstoodExtensions
 
Constructor Summary
WSDLOutputImpl(javax.xml.stream.XMLStreamReader xsr, String name, QName messageName, WSDLOperationImpl operation)
           
 
Method Summary
(package private)  void freeze(WSDLModelImpl root)
           
 String getAction()
          Gives the Action Message Addressing Property value for this message.
 WSDLMessage getMessage()
          Gives the WSDLMessage corresponding to wsdl:output@message

This method should not be called before the entire WSDLModel is built.

 String getName()
          Gives the wsdl:portType/wsdl:operation/wsdl:output@name
 WSDLOperation getOperation()
          Gives the owning WSDLOperation
 QName getQName()
          Gives qualified name of the wsdl:output 'name' attribute value.
 void setAction(String action)
           
 
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions
 
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractObjectImpl
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, getExtension, getExtensions, getExtensions
 

Constructor Detail

WSDLOutputImpl

public WSDLOutputImpl(javax.xml.stream.XMLStreamReader xsr,
                      String name,
                      QName messageName,
                      WSDLOperationImpl operation)
Method Detail

getName

public String getName()
Description copied from interface: WSDLOutput
Gives the wsdl:portType/wsdl:operation/wsdl:output@name

Specified by:
getName in interface WSDLOutput

getMessage

public WSDLMessage getMessage()
Description copied from interface: WSDLOutput
Gives the WSDLMessage corresponding to wsdl:output@message

This method should not be called before the entire WSDLModel is built. Basically after the WSDLModel is built all the references are resolve in a post processing phase. IOW, the WSDL extensions should not call this method.

Specified by:
getMessage in interface WSDLOutput
Returns:
Always returns null when called from inside WSDL extensions.

getAction

public String getAction()
Description copied from interface: WSDLOutput
Gives the Action Message Addressing Property value for this message.

This method provides the correct value irrespective of whether the Action is explicitly specified in the WSDL or implicitly derived using the rules defined in WS-Addressing.

Specified by:
getAction in interface WSDLOutput
Returns:
Action

getOperation

@NotNull
public WSDLOperation getOperation()
Description copied from interface: WSDLOutput
Gives the owning WSDLOperation

Specified by:
getOperation in interface WSDLOutput

getQName

@NotNull
public QName getQName()
Description copied from interface: WSDLOutput
Gives qualified name of the wsdl:output 'name' attribute value. If there is no name, then it computes the name from: wsdl:operation@name+"Response", which is local name of WSDLOperation.getName() + "Response"

The namespace uri is determined from the enclosing wsdl:operation.

Specified by:
getQName in interface WSDLOutput

setAction

public void setAction(String action)

freeze

void freeze(WSDLModelImpl root)