javax.wsdl
Interface Part

All Superinterfaces:
java.io.Serializable

public interface Part
extends java.io.Serializable

This interface represents a message part and contains the part's name, elementName, and typeName.

Component:
WSDL-API interfaces

Method Summary
 org.w3c.dom.Element getDocumentationElement()
          Get the documentation element.
 QName getElementName()
           
 QName getExtensionAttribute(QName qname)
          Retrieve an extension attribute from this part.
 java.util.Map getExtensionAttributes()
          Get the map containing all the extension attributes defined on this part.
 java.lang.String getName()
          Get the name of this part.
 QName getTypeName()
           
 void setDocumentationElement(org.w3c.dom.Element docEl)
          Set the documentation element for this document.
 void setElementName(QName elementName)
           
 void setExtensionAttribute(QName qname, QName qname1)
          Set an extension attribute on this part.
 void setName(java.lang.String name)
          Set the name of this part.
 void setTypeName(QName typeName)
           
 

Method Detail

setName

public void setName(java.lang.String name)
Set the name of this part.

Parameters:
name - the desired name

getName

public java.lang.String getName()
Get the name of this part.

Returns:
the part name

setElementName

public void setElementName(QName elementName)

getElementName

public QName getElementName()

setTypeName

public void setTypeName(QName typeName)

getTypeName

public QName getTypeName()

setDocumentationElement

public void setDocumentationElement(org.w3c.dom.Element docEl)
Set the documentation element for this document. This dependency on org.w3c.dom.Element should eventually be removed when a more appropriate way of representing this information is employed.

Parameters:
docEl - the documentation element

getDocumentationElement

public org.w3c.dom.Element getDocumentationElement()
Get the documentation element. This dependency on org.w3c.dom.Element should eventually be removed when a more appropriate way of representing this information is employed.

Returns:
the documentation element

getExtensionAttribute

public QName getExtensionAttribute(QName qname)
Retrieve an extension attribute from this part. If the extension attribute is not defined, null is returned.

Parameters:
qname - the extension attribute name
Returns:
the value of the extension attribute, or null if it is not defined

getExtensionAttributes

public java.util.Map getExtensionAttributes()
Get the map containing all the extension attributes defined on this part. The keys are the qnames of the attributes.

Returns:
a map containing all the extension attributes defined on this part

setExtensionAttribute

public void setExtensionAttribute(QName qname,
                                  QName qname1)
Set an extension attribute on this part. Pass in a null value to remove an extension attribute.

Parameters:
qname - the extension attribute name
qname1 - the extension attribute value