org.jvnet.wom.impl
Class WSDLOutputImpl

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

public class WSDLOutputImpl
extends WSDLOutput

Author:
Vivek Pandey

Constructor Summary
WSDLOutputImpl(org.xml.sax.Locator locator, javax.xml.namespace.QName name, WSDLDocumentImpl document)
           
 
Method Summary
 java.lang.String getDocumentation()
          Gives the Comment on a WSDL component.
 WSDLMessage getMessage()
          Gives the WSDLMessage corresponding to wsdl:output@message

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

 java.util.Collection<WSDLPart> getParts()
          Gives all the wsdl:part(s) inside the wsdl:output/wsdl:message
 void setDocumentation(java.lang.String doc)
           
 void setMessage(javax.xml.namespace.QName message)
           
 void setParent(WSDLOperationImpl parent)
           
<V,P> V
visit(WSDLVisitor<V,P> visitor, P param)
          WSDL visitor
 
Methods inherited from class org.jvnet.wom.api.WSDLEntity
addExtension, getExtension, getExtensions, getFirstExtension, getLocation, getName, getOwnerWSDLModel, getWSDLDocument, setOwnerWSDLDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLOutputImpl

public WSDLOutputImpl(org.xml.sax.Locator locator,
                      javax.xml.namespace.QName name,
                      WSDLDocumentImpl document)
Method Detail

getMessage

public WSDLMessage getMessage()
Description copied from class: WSDLOutput
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.

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

getParts

public java.util.Collection<WSDLPart> getParts()
Description copied from class: WSDLOutput
Gives all the wsdl:part(s) inside the wsdl:output/wsdl:message

Specified by:
getParts in class WSDLOutput
Returns:
never null. Maybe empty when there is no output parts. *

setParent

public void setParent(WSDLOperationImpl parent)

setMessage

public void setMessage(javax.xml.namespace.QName message)

setDocumentation

public void setDocumentation(java.lang.String doc)

getDocumentation

public java.lang.String getDocumentation()
Description copied from class: WSDLEntity
Gives the Comment on a WSDL component. This is the content of <wsdl:document>

Overrides:
getDocumentation in class WSDLEntity
Returns:
"" if there is no documentation

visit

public <V,P> V visit(WSDLVisitor<V,P> visitor,
                     P param)
Description copied from class: WSDLEntity
WSDL visitor

Specified by:
visit in class WSDLEntity


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