Package com.sun.xml.ws.model.wsdl
Class WSDLPartImpl
- java.lang.Object
-
- com.sun.xml.ws.model.wsdl.WSDLPartImpl
-
- All Implemented Interfaces:
EditableWSDLPart,WSDLObject,WSDLPart
public final class WSDLPartImpl extends Object implements EditableWSDLPart
Implementation ofWSDLPart- Author:
- Vivek Pandey
-
-
Constructor Summary
Constructors Constructor Description WSDLPartImpl(XMLStreamReader xsr, String partName, int index, WSDLPartDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterBindinggetBinding()Gets the wsdl:part binding as seen thru wsdl:bindingWSDLPartDescriptorgetDescriptor()Gives the XML Schema descriptor referenced using either wsdl:part@element or wsdl:part@type.intgetIndex()Index value is as the order in which the wsdl:part appears inside the input or output wsdl:message.LocatorgetLocation()Gets the source location information in the parsed WSDL.StringgetName()Gets wsdl:part@name attribute value.voidsetBinding(ParameterBinding binding)Sets bindingvoidsetIndex(int index)Sets index-
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(XMLStreamReader xsr, String partName, int index, WSDLPartDescriptor descriptor)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:WSDLPartGets wsdl:part@name attribute value.
-
getBinding
public ParameterBinding getBinding()
Description copied from interface:WSDLPartGets the wsdl:part binding as seen thru wsdl:binding- Specified by:
getBindingin interfaceWSDLPart
-
setBinding
public void setBinding(ParameterBinding binding)
Description copied from interface:EditableWSDLPartSets binding- Specified by:
setBindingin interfaceEditableWSDLPart- Parameters:
binding- Binding
-
getIndex
public int getIndex()
Description copied from interface:WSDLPartIndex value is as the order in which the wsdl:part appears inside the input or output wsdl:message.
-
setIndex
public void setIndex(int index)
Description copied from interface:EditableWSDLPartSets index- Specified by:
setIndexin interfaceEditableWSDLPart- Parameters:
index- Index
-
getDescriptor
public WSDLPartDescriptor getDescriptor()
Description copied from interface:WSDLPartGives the XML Schema descriptor referenced using either wsdl:part@element or wsdl:part@type.- Specified by:
getDescriptorin interfaceWSDLPart
-
getLocation
@NotNull public final Locator getLocation()
Description copied from interface:WSDLObjectGets the source location information in the parsed WSDL. This is useful when producing error messages.- Specified by:
getLocationin interfaceWSDLObject
-
-