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

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.WSDLInputImpl
All Implemented Interfaces:
WSDLExtensible, WSDLInput, WSDLObject

public final class WSDLInputImpl
extends AbstractExtensibleImpl
implements WSDLInput


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
WSDLInputImpl(javax.xml.stream.XMLStreamReader xsr, String name, QName messageName, WSDLOperationImpl operation)
           
 
Method Summary
(package private)  void freeze(WSDLModelImpl parent)
           
 String getAction()
          Gives the Action Message Addressing Property value for this message.
 WSDLMessage getMessage()
          Gives the WSDLMessage corresponding to wsdl:input@message

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

 String getName()
          Gives the wsdl:portType/wsdl:operation/wsdl:input@name
 WSDLOperation getOperation()
          Gives the owning WSDLOperation
 QName getQName()
          Gives qualified name of the wsdl:input 'name' attribute value.
 boolean isDefaultAction()
           
 void setAction(String action)
           
 void setDefaultAction(boolean defaultAction)
           
 
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

WSDLInputImpl

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

getName

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

Specified by:
getName in interface WSDLInput

getMessage

public WSDLMessage getMessage()
Description copied from interface: WSDLInput
Gives the WSDLMessage corresponding to wsdl:input@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 WSDLInput
Returns:
Always returns null when called from inside WSDL extensions.

getAction

public String getAction()
Description copied from interface: WSDLInput
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 WSDLInput
Returns:
Action

getOperation

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

Specified by:
getOperation in interface WSDLInput

getQName

public QName getQName()
Description copied from interface: WSDLInput
Gives qualified name of the wsdl:input 'name' attribute value. If there is no name, then it computes the name from: If the wsdl:operation is oneway: wsdl:operation@name value, which is local name of WSDLOperation.getName()

otherwise wsdl:operation@name+"Request", which is local name of WSDLOperation.getName() + "Request"

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

Specified by:
getQName in interface WSDLInput

setAction

public void setAction(String action)

isDefaultAction

public boolean isDefaultAction()

setDefaultAction

public void setDefaultAction(boolean defaultAction)

freeze

void freeze(WSDLModelImpl parent)