com.sun.xml.ws.model.wsdl
Class WSDLInputImpl
java.lang.Object
com.sun.xml.ws.model.wsdl.AbstractObjectImpl
com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
com.sun.xml.ws.model.wsdl.WSDLInputImpl
- All Implemented Interfaces:
- WSDLExtensible, WSDLInput, WSDLObject
public final class WSDLInputImpl
- extends AbstractExtensibleImpl
- implements WSDLInput
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDLInputImpl
public WSDLInputImpl(javax.xml.stream.XMLStreamReader xsr,
String name,
QName messageName,
WSDLOperationImpl operation)
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)