org.jvnet.wom.api
Class WSDLOutput

java.lang.Object
  extended by org.jvnet.wom.api.WSDLEntity
      extended by org.jvnet.wom.api.WSDLOutput
All Implemented Interfaces:
WSDLExtensible
Direct Known Subclasses:
WSDLOutputImpl

public abstract class WSDLOutput
extends WSDLEntity

Abstraction of wsdl:portType/wsdl:operation/wsdl:output

Author:
Vivek Pandey

Constructor Summary
protected WSDLOutput(org.xml.sax.Locator locator, javax.xml.namespace.QName name)
           
 
Method Summary
abstract  WSDLMessage getMessage()
          Gives the WSDLMessage corresponding to wsdl:output@message

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

abstract  java.util.Collection<WSDLPart> getParts()
          Gives all the wsdl:part(s) inside the wsdl:output/wsdl:message
 
Methods inherited from class org.jvnet.wom.api.WSDLEntity
addExtension, getDocumentation, getExtension, getExtensions, getFirstExtension, getLocation, getName, getOwnerWSDLModel, getWSDLDocument, setOwnerWSDLDocument, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLOutput

protected WSDLOutput(org.xml.sax.Locator locator,
                     javax.xml.namespace.QName name)
Method Detail

getMessage

public abstract WSDLMessage getMessage()
Gives the WSDLMessage corresponding to wsdl:output@message

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

Returns:
Always returns null when called from inside WSDL extensions.

getParts

public abstract java.util.Collection<WSDLPart> getParts()
Gives all the wsdl:part(s) inside the wsdl:output/wsdl:message

Returns:
never null. Maybe empty when there is no output parts. *


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.