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

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

public final class WSDLPartImpl
extends Object
implements EditableWSDLPart

Implementation of WSDLPart

Author:
Vivek Pandey

Constructor Summary
WSDLPartImpl(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.
 Locator getLocation()
          Gets the source location information in the parsed WSDL.
 String getName()
          Gets wsdl:part@name attribute value.
 void setBinding(ParameterBinding binding)
          Sets binding
 void 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.

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)
Description copied from interface: EditableWSDLPart
Sets binding

Specified by:
setBinding in interface EditableWSDLPart
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.

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

setIndex

public void setIndex(int index)
Description copied from interface: EditableWSDLPart
Sets index

Specified by:
setIndex in interface EditableWSDLPart
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 interface WSDLPart

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 interface WSDLObject


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.