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 ParameterBinding
getBinding()
Gets the wsdl:part binding as seen thru wsdl:bindingWSDLPartDescriptor
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.Locator
getLocation()
Gets the source location information in the parsed WSDL.String
getName()
Gets wsdl:part@name attribute value.void
setBinding(ParameterBinding binding)
Sets bindingvoid
setIndex(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:WSDLPart
Gets wsdl:part@name attribute value.
-
getBinding
public ParameterBinding getBinding()
Description copied from interface:WSDLPart
Gets the wsdl:part binding as seen thru wsdl:binding- Specified by:
getBinding
in interfaceWSDLPart
-
setBinding
public void setBinding(ParameterBinding binding)
Description copied from interface:EditableWSDLPart
Sets binding- Specified by:
setBinding
in interfaceEditableWSDLPart
- Parameters:
binding
- 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.
-
setIndex
public void setIndex(int index)
Description copied from interface:EditableWSDLPart
Sets index- Specified by:
setIndex
in interfaceEditableWSDLPart
- Parameters:
index
- Index
-
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 interfaceWSDLPart
-
getLocation
@NotNull public final Locator getLocation()
Description copied from interface:WSDLObject
Gets the source location information in the parsed WSDL. This is useful when producing error messages.- Specified by:
getLocation
in interfaceWSDLObject
-
-