Package com.sun.tools.ws.wsdl.document
Class BindingOperation
- java.lang.Object
-
- com.sun.tools.ws.wsdl.framework.Entity
-
- com.sun.tools.ws.wsdl.document.BindingOperation
-
- All Implemented Interfaces:
TWSDLExtensible
,Elemental
public class BindingOperation extends Entity implements TWSDLExtensible
Entity corresponding to the "operation" child element of a WSDL "binding" element.- Author:
- WS Development Team
-
-
Field Summary
-
Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity
errorReceiver
-
-
Constructor Summary
Constructors Constructor Description BindingOperation(Locator locator)
-
Method Summary
-
Methods inherited from class com.sun.tools.ws.wsdl.framework.Entity
failValidation, failValidation, getLocator, getProperty, removeProperty, setErrorReceiver, setProperty, withAllEntityReferencesDo, withAllQNamesDo
-
-
-
-
Constructor Detail
-
BindingOperation
public BindingOperation(Locator locator)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getUniqueKey
public String getUniqueKey()
-
getStyle
public OperationStyle getStyle()
-
setStyle
public void setStyle(OperationStyle s)
-
getInput
public BindingInput getInput()
-
setInput
public void setInput(BindingInput i)
-
getOutput
public BindingOutput getOutput()
-
setOutput
public void setOutput(BindingOutput o)
-
addFault
public void addFault(BindingFault f)
-
faults
public Iterable<BindingFault> faults()
-
getElementName
public QName getElementName()
- Specified by:
getElementName
in interfaceElemental
-
getDocumentation
public Documentation getDocumentation()
-
setDocumentation
public void setDocumentation(Documentation d)
-
getNameValue
public String getNameValue()
Description copied from interface:TWSDLExtensible
Gives the wsdl extensiblity element's name attribute value. It can be null as @name on some of the wsdl extensibility elements are optinal such as wsdl:input- Specified by:
getNameValue
in interfaceTWSDLExtensible
-
getNamespaceURI
public String getNamespaceURI()
Description copied from interface:TWSDLExtensible
Gives namespace URI of a wsdl extensibility element.- Specified by:
getNamespaceURI
in interfaceTWSDLExtensible
-
getWSDLElementName
public QName getWSDLElementName()
Description copied from interface:TWSDLExtensible
Gives the WSDL element or WSDL extensibility element name- Specified by:
getWSDLElementName
in interfaceTWSDLExtensible
-
addExtension
public void addExtension(TWSDLExtension e)
Description copied from interface:TWSDLExtensible
AnTWSDLExtensionHandler
will call this method to add anTWSDLExtension
object- Specified by:
addExtension
in interfaceTWSDLExtensible
- Parameters:
e
- non-null extension object
-
extensions
public Iterable<TWSDLExtension> extensions()
Description copied from interface:TWSDLExtensible
Gives iterator overTWSDLExtension
s- Specified by:
extensions
in interfaceTWSDLExtensible
-
getParent
public TWSDLExtensible getParent()
Description copied from interface:TWSDLExtensible
Gives the parent of a wsdl extensibility element.
Here, theFor example, <wsdl:portType> <wsdl:operation> ...
TWSDLExtensible
representing wsdl:operation's parent would be wsdl:portType- Specified by:
getParent
in interfaceTWSDLExtensible
- Returns:
- null if the
TWSDLExtensible
has no parent, root of wsdl document - wsdl:definition.
-
withAllSubEntitiesDo
public void withAllSubEntitiesDo(EntityAction action)
- Overrides:
withAllSubEntitiesDo
in classEntity
-
accept
public void accept(WSDLDocumentVisitor visitor) throws Exception
- Throws:
Exception
-
validateThis
public void validateThis()
- Specified by:
validateThis
in classEntity
-
setParent
public void setParent(TWSDLExtensible parent)
-
-