org.jvnet.wom.impl
Class WSDLPartImpl

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

public class WSDLPartImpl
extends WSDLPart

Author:
Vivek Pandey

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jvnet.wom.api.WSDLPart
WSDLPart.Binding, WSDLPart.WSDLPartDescriptor
 
Constructor Summary
WSDLPartImpl(org.xml.sax.Locator locator, javax.xml.namespace.QName name, WSDLPart.WSDLPartDescriptor descriptor, WSDLDocumentImpl document)
           
 
Method Summary
 WSDLPart.WSDLPartDescriptor getDescriptor()
          Gives the XML Schema descriptor referenced using either wsdl:part@element or wsdl:part@type.
 java.lang.String getDocumentation()
          Gives the Comment on a WSDL component.
 int getIndex()
          Index value is as the order in which the wsdl:part appears inside the input or output wsdl:message.
 void setDocumentation(java.lang.String doc)
           
 void setIndex(int index)
           
<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

WSDLPartImpl

public WSDLPartImpl(org.xml.sax.Locator locator,
                    javax.xml.namespace.QName name,
                    WSDLPart.WSDLPartDescriptor descriptor,
                    WSDLDocumentImpl document)
Method Detail

setIndex

public void setIndex(int index)

getIndex

public int getIndex()
Description copied from class: WSDLPart
Index value is as the order in which the wsdl:part appears inside the input or output wsdl:message.

Specified by:
getIndex in class WSDLPart
Returns:
n where n >= 0

getDescriptor

public WSDLPart.WSDLPartDescriptor getDescriptor()
Description copied from class: WSDLPart
Gives the XML Schema descriptor referenced using either wsdl:part@element or wsdl:part@type.

Specified by:
getDescriptor in class WSDLPart

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.