javax.wsdl
Interface PortType
- java.io.Serializable, AttributeExtensible
- PortTypeImpl
public interface PortType
This interface represents a port type. It contains information about
operations associated with this port type.
- Paul Fremantle
- Nirmal Mukhi
- Matthew J. Duftler
addOperation
public void addOperation(Operation operation)
Add an operation to this port type.
operation
- the operation to be added
getDocumentationElement
public 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.
- the documentation element
getOperation
public Operation getOperation(String name,
String inputName,
String outputName)
Get the specified operation. Note that operation names can
be overloaded within a PortType. In case of overloading, the
names of the input and output messages can be used to further
refine the search.
name
- the name of the desired operation.inputName
- the name of the input message; if this is null
it will be ignored.outputName
- the name of the output message; if this is null
it will be ignored.
- the corresponding operation, or null if there wasn't
any matching operation
getOperations
public List getOperations()
Get all the operations defined here.
getQName
public QName getQName()
Get the name of this port type.
isUndefined
public boolean isUndefined()
setDocumentationElement
public void setDocumentationElement(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.
docEl
- the documentation element
setQName
public void setQName(QName name)
Set the name of this port type.
setUndefined
public void setUndefined(boolean isUndefined)
Copyright B) 2003,2005 IBM. All Rights Reserved.