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