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

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

public final class WSDLPartImpl
extends java.lang.Object
implements WSDLPart

Implementation of WSDLPart


Constructor Summary
WSDLPartImpl(javax.xml.stream.XMLStreamReader xsr, java.lang.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.
 org.xml.sax.Locator getLocation()
          Gets the source location information in the parsed WSDL.
 java.lang.String getName()
          Gets wsdl:part@name attribute value.
 void setBinding(ParameterBinding binding)
           
 void setIndex(int 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(javax.xml.stream.XMLStreamReader xsr,
                    java.lang.String partName,
                    int index,
                    WSDLPartDescriptor descriptor)
Method Detail

getName

public java.lang.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)

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 org.xml.sax.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 (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.