Package javax.wsdl
Interface Port
- All Superinterfaces:
AttributeExtensible
,ElementExtensible
,Serializable
,WSDLElement
- All Known Implementing Classes:
PortImpl
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
Modifier and TypeMethodDescriptionGet the binding this port refers to.getName()
Get the name of this port.void
setBinding
(Binding binding) Set the binding this port should refer to.void
Set the name of this port.Methods inherited from interface javax.wsdl.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
Methods inherited from interface javax.wsdl.extensions.ElementExtensible
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
Methods inherited from interface javax.wsdl.WSDLElement
getDocumentationElement, setDocumentationElement
-
Method Details
-
setName
Set the name of this port.- Parameters:
name
- the desired name
-
getName
String getName()Get the name of this port.- Returns:
- the port name
-
setBinding
Set the binding this port should refer to.- Parameters:
binding
- the desired binding
-
getBinding
Binding getBinding()Get the binding this port refers to.- Returns:
- the binding associated with this port
-