com.sun.tools.ws.api.wsdl
Interface TWSDLExtensible

All Known Subinterfaces:
TWSDLOperation
All Known Implementing Classes:
Binding, BindingFault, BindingInput, BindingOperation, BindingOutput, Definitions, Fault, Input, MIMEPart, Operation, Output, Port, PortType, Service, Types

public interface TWSDLExtensible

A WSDL element or attribute that can be extended.


Method Summary
 void addExtension(TWSDLExtension e)
          An TWSDLExtensionHandler will call this method to add an TWSDLExtension object
 Iterable<? extends TWSDLExtension> extensions()
          Gives iterator over TWSDLExtensions
 String getNamespaceURI()
          Gives namespace URI of a wsdl extensibility element.
 String getNameValue()
          Gives the wsdl extensiblity element's name attribute value.
 TWSDLExtensible getParent()
          Gives the parent of a wsdl extensibility element.
 QName getWSDLElementName()
          Gives the WSDL element or WSDL extensibility element name
 

Method Detail

getNameValue

String getNameValue()
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


getNamespaceURI

String getNamespaceURI()
Gives namespace URI of a wsdl extensibility element.


getWSDLElementName

QName getWSDLElementName()
Gives the WSDL element or WSDL extensibility element name


addExtension

void addExtension(TWSDLExtension e)
An TWSDLExtensionHandler will call this method to add an TWSDLExtension object

Parameters:
e - non-null extension object

extensions

Iterable<? extends TWSDLExtension> extensions()
Gives iterator over TWSDLExtensions


getParent

TWSDLExtensible getParent()
Gives the parent of a wsdl extensibility element.
 For example,

     
         
     ...
 Here, the TWSDLExtensiblerepresenting wsdl:operation's parent would be wsdl:portType

Returns:
null if the TWSDLExtensible has no parent, root of wsdl document - wsdl:definition.