javax.wsdl
Interface Port

All Superinterfaces:
java.io.Serializable

public interface Port
extends java.io.Serializable

This interface represents a port, an endpoint for the functionality described by a particular port type.

Component:
WSDL-API interfaces

Method Summary
 void addExtensibilityElement(ExtensibilityElement extElement)
          Add an extensibility element.
 Binding getBinding()
          Get the binding this port refers to.
 org.w3c.dom.Element getDocumentationElement()
          Get the documentation element.
 java.util.List getExtensibilityElements()
          Get all the extensibility elements defined here.
 java.lang.String getName()
          Get the name of this port.
 void setBinding(Binding binding)
          Set the binding this port should refer to.
 void setDocumentationElement(org.w3c.dom.Element docEl)
          Set the documentation element for this document.
 void setName(java.lang.String name)
          Set the name of this port.
 

Method Detail

setName

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

Parameters:
name - the desired name

getName

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

Returns:
the port name

setBinding

public void setBinding(Binding binding)
Set the binding this port should refer to.

Parameters:
binding - the desired binding

getBinding

public Binding getBinding()
Get the binding this port refers to.

Returns:
the binding associated with this port

addExtensibilityElement

public void addExtensibilityElement(ExtensibilityElement extElement)
Add an extensibility element.

Parameters:
extElement - the extensibility element to be added

getExtensibilityElements

public java.util.List getExtensibilityElements()
Get all the extensibility elements defined here.


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