org.jvnet.wom.impl
Class WSDLInputImpl

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

public class WSDLInputImpl
extends WSDLInput

Author:
Vivek Pandey

Constructor Summary
WSDLInputImpl(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:input@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:input/wsdl:message
 void setDocumentation(java.lang.String doc)
           
 void setMessage(javax.xml.namespace.QName name)
           
 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

WSDLInputImpl

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

getMessage

public WSDLMessage getMessage()
Description copied from class: WSDLInput
Gives the WSDLMessage corresponding to wsdl:input@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 WSDLInput
Returns:
may be null

getParts

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

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

setMessage

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

setParent

public void setParent(WSDLOperationImpl parent)

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.