javax.wsdl
Interface Port

All Superinterfaces:
AttributeExtensible, java.io.Serializable
All Known Implementing Classes:
PortImpl

public interface Port
extends java.io.Serializable, AttributeExtensible

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

Author:
Paul Fremantle, Nirmal Mukhi, Matthew J. Duftler

Field Summary
 
Fields inherited from interface javax.wsdl.extensions.AttributeExtensible
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
 
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.
 
Methods inherited from interface javax.wsdl.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
 

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


Copyright ? 2003 IBM. All Rights Reserved.