org.jvnet.wom.impl
Class WSDLMessageImpl

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

public class WSDLMessageImpl
extends WSDLMessage

Author:
Vivek Pandey

Constructor Summary
WSDLMessageImpl(org.xml.sax.Locator locator, javax.xml.namespace.QName name, WSDLDocumentImpl document)
           
 
Method Summary
 void addPart(WSDLPartImpl part)
           
 java.lang.String getDocumentation()
          Gives the Comment on a WSDL component.
 WSDLPart getPart(java.lang.String partName)
          Get a part of specific name
 java.util.Collection<WSDLPart> parts()
          Gets all the parts.
 void setDocumentation(java.lang.String doc)
           
<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

WSDLMessageImpl

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

parts

public java.util.Collection<WSDLPart> parts()
Description copied from class: WSDLMessage
Gets all the parts.

Specified by:
parts in class WSDLMessage

getPart

public WSDLPart getPart(java.lang.String partName)
Description copied from class: WSDLMessage
Get a part of specific name

Specified by:
getPart in class WSDLMessage

addPart

public void addPart(WSDLPartImpl part)

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

setDocumentation

public void setDocumentation(java.lang.String doc)


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