com.sun.xml.ws.model.wsdl
Class WSDLPartImpl

java.lang.Object
  extended by com.sun.xml.ws.model.wsdl.AbstractObjectImpl
      extended by com.sun.xml.ws.model.wsdl.WSDLPartImpl
All Implemented Interfaces:
WSDLObject, WSDLPart

public final class WSDLPartImpl
extends AbstractObjectImpl
implements WSDLPart

Implementation of WSDLPart


Constructor Summary
WSDLPartImpl(javax.xml.stream.XMLStreamReader xsr, String partName, int index, WSDLPartDescriptor descriptor)
           
 
Method Summary
 ParameterBinding getBinding()
          Gets the wsdl:part binding as seen thru wsdl:binding
 WSDLPartDescriptor getDescriptor()
          Gives the XML Schema descriptor referenced using either wsdl:part@element or wsdl:part@type.
 int getIndex()
          Index value is as the order in which the wsdl:part appears inside the input or output wsdl:message.
 String getName()
          Gets wsdl:part@name attribute value.
(package private)  boolean isBody()
           
 void setBinding(ParameterBinding binding)
           
 void setIndex(int index)
           
 
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractObjectImpl
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
 

Constructor Detail

WSDLPartImpl

public WSDLPartImpl(javax.xml.stream.XMLStreamReader xsr,
                    String partName,
                    int index,
                    WSDLPartDescriptor descriptor)
Method Detail

getName

public String getName()
Description copied from interface: WSDLPart
Gets wsdl:part@name attribute value.

Specified by:
getName in interface WSDLPart

getBinding

public ParameterBinding getBinding()
Description copied from interface: WSDLPart
Gets the wsdl:part binding as seen thru wsdl:binding

Specified by:
getBinding in interface WSDLPart

setBinding

public void setBinding(ParameterBinding binding)

getIndex

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

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

setIndex

public void setIndex(int index)

isBody

boolean isBody()

getDescriptor

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

Specified by:
getDescriptor in interface WSDLPart