public interface PortType extends WSDLElement
LIST_OF_QNAMES_TYPE, LIST_OF_STRINGS_TYPE, NO_DECLARED_TYPE, QNAME_TYPE, STRING_TYPE
Modifier and Type | Method and Description |
---|---|
void |
addOperation(Operation operation)
Add an operation to this port type.
|
Operation |
getOperation(String name,
String inputName,
String outputName)
Get the specified operation.
|
List |
getOperations()
Get all the operations defined here.
|
QName |
getQName()
Get the name of this port type.
|
boolean |
isUndefined() |
Operation |
removeOperation(String name,
String inputName,
String outputName)
Remove the specified operation.
|
void |
setQName(QName name)
Set the name of this port type.
|
void |
setUndefined(boolean isUndefined) |
getDocumentationElement, setDocumentationElement
getExtensionAttribute, getExtensionAttributes, getNativeAttributeNames, setExtensionAttribute
addExtensibilityElement, getExtensibilityElements, removeExtensibilityElement
void setQName(QName name)
name
- the desired nameQName getQName()
void addOperation(Operation operation)
operation
- the operation to be addedOperation getOperation(String name, String inputName, String outputName)
The search criteria will be the operation name parameter and any
non-null input or output message name parameters.
To exclude the input or output message name from the search criteria,
specify a null value for the input or output message name parameter.
To search for operations with unnamed input or output messages
(i.e. <input> or <output> elements with the 'name' attribute omitted),
specify the string ":none
" for the input or output message name parameter.
Note: the use of a string value ":none
" rather than null to search for
unnamed input or output messages is necessary to retain backward compatibility
with earlier versions of the JWSDL API, which defined a null value to
mean 'ignore this parameter'.
The colon in ":none
" is to avoid name clashes with input or output
message names, which must be of type NCName (i.e. they cannot contain colons).
name
- the name of the desired operation.inputName
- the name of the input message; if this is null
it will be ignored, if this is ":none
" it means search for an input
message without a name.outputName
- the name of the output message; if this is null
it will be ignored, if this is ":none
" it means search for an output
message without a name.IllegalArgumentException
- if duplicate operations are found.List getOperations()
Operation removeOperation(String name, String inputName, String outputName)
Usage of the input and output message name parameters is as
described for the getOperation
method.
name
- the name of the desired operation.inputName
- the name of the input message; if this is null
it will be ignored, if this is ":none
" it means search for an input
message without a name.outputName
- the name of the output message; if this is null
it will be ignored, if this is ":none
" it means search for an output
message without a name.IllegalArgumentException
- if duplicate operations are found.getOperation(String, String, String)
void setUndefined(boolean isUndefined)
boolean isUndefined()
Copyright © 2017 JBoss by Red Hat. All rights reserved.