Package com.sun.tools.ws.wsdl.document
Class Binding
java.lang.Object
com.sun.tools.ws.wsdl.framework.Entity
com.sun.tools.ws.wsdl.framework.GlobalEntity
com.sun.tools.ws.wsdl.document.Binding
- All Implemented Interfaces:
TWSDLExtensible
,Elemental
,GloballyKnown
Entity corresponding to the "binding" WSDL element.
- Author:
- WS Development Team
-
Field Summary
Fields inherited from class com.sun.tools.ws.wsdl.framework.Entity
errorReceiver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(WSDLDocumentVisitor visitor) void
add
(BindingOperation operation) void
AnTWSDLExtensionHandler
will call this method to add anTWSDLExtension
objectGives iterator overTWSDLExtension
sgetKind()
Gives namespace URI of a wsdl extensibility element.Gives the wsdl extensiblity element's name attribute value.Gives the parent of a wsdl extensibility element.Gives the WSDL element or WSDL extensibility element nameresolvePortType
(AbstractDocument document) void
void
setParent
(TWSDLExtensible parent) void
setPortType
(QName n) void
void
void
withAllQNamesDo
(QNameAction action) void
withAllSubEntitiesDo
(EntityAction action) Methods inherited from class com.sun.tools.ws.wsdl.framework.GlobalEntity
getDefining, getName, setName
Methods inherited from class com.sun.tools.ws.wsdl.framework.Entity
failValidation, failValidation, getLocator, getProperty, removeProperty, setErrorReceiver, setProperty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.tools.ws.wsdl.framework.Elemental
getLocator
-
Constructor Details
-
Binding
-
-
Method Details
-
add
-
operations
-
getPortType
-
setPortType
-
resolvePortType
-
getKind
- Specified by:
getKind
in interfaceGloballyKnown
- Specified by:
getKind
in classGlobalEntity
-
getElementName
- Specified by:
getElementName
in interfaceElemental
-
getDocumentation
-
setDocumentation
-
withAllSubEntitiesDo
- Overrides:
withAllSubEntitiesDo
in classEntity
-
withAllQNamesDo
- Overrides:
withAllQNamesDo
in classEntity
-
withAllEntityReferencesDo
- Overrides:
withAllEntityReferencesDo
in classEntity
-
accept
- Throws:
Exception
-
validateThis
public void validateThis()- Specified by:
validateThis
in classEntity
-
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
Description copied from interface:TWSDLExtensible
Gives namespace URI of a wsdl extensibility element.- Specified by:
getNamespaceURI
in interfaceTWSDLExtensible
-
getWSDLElementName
Description copied from interface:TWSDLExtensible
Gives the WSDL element or WSDL extensibility element name- Specified by:
getWSDLElementName
in interfaceTWSDLExtensible
-
addExtension
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
Description copied from interface:TWSDLExtensible
Gives iterator overTWSDLExtension
s- Specified by:
extensions
in interfaceTWSDLExtensible
-
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.
-
setParent
-