org.eclipse.swordfish.internal.resolver.backend.base.wsdl
Class SwordfishPortImpl

java.lang.Object
  extended by org.eclipse.swordfish.internal.resolver.backend.base.wsdl.SwordfishPortImpl
All Implemented Interfaces:
SwordfishPort

public class SwordfishPortImpl
extends java.lang.Object
implements SwordfishPort

This class implements SwordfishPort.


Field Summary
 
Fields inherited from interface org.eclipse.swordfish.internal.resolver.backend.base.wsdl.SwordfishPort
HTTP_TRANSPORT_URI, JMS_TRANSPORT_URI
 
Constructor Summary
SwordfishPortImpl(javax.wsdl.Port port)
          Creates a new WSDL port.
SwordfishPortImpl(javax.wsdl.Port port, Transport transport)
          Instantiates a new WSDL port.
 
Method Summary
 void addExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement element)
          Adds the extensibility element.
 javax.wsdl.Binding getBinding()
          Gets the binding.
 org.w3c.dom.Element getDocumentationElement()
          Gets the documentation element.
 java.util.List<?> getExtensibilityElements()
          Gets the extensibility elements.
 java.lang.Object getExtensionAttribute(javax.xml.namespace.QName attributeName)
          Gets the extension attribute.
 java.util.Map<?,?> getExtensionAttributes()
          Gets the extension attributes.
 java.lang.String getName()
          Gets the name.
 java.util.List<?> getNativeAttributeNames()
          Gets the native attribute names.
 Transport getTransport()
          Gets the transport.
 javax.wsdl.extensions.ExtensibilityElement removeExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement element)
          
 void setBinding(javax.wsdl.Binding binding)
          Sets the binding.
 void setDocumentationElement(org.w3c.dom.Element element)
          Sets the documentation element.
 void setExtensionAttribute(javax.xml.namespace.QName arg0, java.lang.Object arg1)
          Sets the extension attribute.
 void setName(java.lang.String arg0)
          Sets the name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwordfishPortImpl

public SwordfishPortImpl(javax.wsdl.Port port)
Creates a new WSDL port.

Parameters:
newPort - a javax.wsdl.Port

SwordfishPortImpl

public SwordfishPortImpl(javax.wsdl.Port port,
                         Transport transport)
Instantiates a new WSDL port.

Parameters:
port - the port
transport - the transport
Method Detail

getTransport

public Transport getTransport()
Description copied from interface: SwordfishPort
Gets the transport.

Specified by:
getTransport in interface SwordfishPort
Returns:
the transport

addExtensibilityElement

public void addExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement element)
Description copied from interface: SwordfishPort
Adds the extensibility element.

Specified by:
addExtensibilityElement in interface SwordfishPort
Parameters:
element - An element to add.
See Also:
ElementExtensible.addExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement)

getBinding

public javax.wsdl.Binding getBinding()
Description copied from interface: SwordfishPort
Gets the binding.

Specified by:
getBinding in interface SwordfishPort
Returns:
the binding
See Also:
Port.getBinding()

getDocumentationElement

public org.w3c.dom.Element getDocumentationElement()
Description copied from interface: SwordfishPort
Gets the documentation element.

Specified by:
getDocumentationElement in interface SwordfishPort
Returns:
the documentation element
See Also:
WSDLElement.getDocumentationElement()

getExtensibilityElements

public java.util.List<?> getExtensibilityElements()
Description copied from interface: SwordfishPort
Gets the extensibility elements.

Specified by:
getExtensibilityElements in interface SwordfishPort
Returns:
the extensibility elements
See Also:
ElementExtensible.getExtensibilityElements()

getName

public java.lang.String getName()
Description copied from interface: SwordfishPort
Gets the name.

Specified by:
getName in interface SwordfishPort
Returns:
the name
See Also:
Port.getName()

setBinding

public void setBinding(javax.wsdl.Binding binding)
Description copied from interface: SwordfishPort
Sets the binding.

Specified by:
setBinding in interface SwordfishPort
See Also:
Port.setBinding(javax.wsdl.Binding)

setDocumentationElement

public void setDocumentationElement(org.w3c.dom.Element element)
Description copied from interface: SwordfishPort
Sets the documentation element.

Specified by:
setDocumentationElement in interface SwordfishPort
See Also:
WSDLElement.setDocumentationElement(org.w3c.dom.Element)

setName

public void setName(java.lang.String arg0)
Description copied from interface: SwordfishPort
Sets the name.

Specified by:
setName in interface SwordfishPort
See Also:
Port.setName(java.lang.String)

setExtensionAttribute

public void setExtensionAttribute(javax.xml.namespace.QName arg0,
                                  java.lang.Object arg1)
Description copied from interface: SwordfishPort
Sets the extension attribute.

Specified by:
setExtensionAttribute in interface SwordfishPort
See Also:
AttributeExtensible.setExtensionAttribute(javax.xml.namespace.QName, java.lang.Object)

getExtensionAttribute

public java.lang.Object getExtensionAttribute(javax.xml.namespace.QName attributeName)
Description copied from interface: SwordfishPort
Gets the extension attribute.

Specified by:
getExtensionAttribute in interface SwordfishPort
Returns:
the extension attribute
See Also:
AttributeExtensible.getExtensionAttribute(javax.xml.namespace.QName)

getExtensionAttributes

public java.util.Map<?,?> getExtensionAttributes()
Description copied from interface: SwordfishPort
Gets the extension attributes.

Specified by:
getExtensionAttributes in interface SwordfishPort
Returns:
the extension attributes
See Also:
AttributeExtensible.getExtensionAttributes()

getNativeAttributeNames

public java.util.List<?> getNativeAttributeNames()
Description copied from interface: SwordfishPort
Gets the native attribute names.

Specified by:
getNativeAttributeNames in interface SwordfishPort
Returns:
the native attribute names
See Also:
AttributeExtensible.getNativeAttributeNames()

removeExtensibilityElement

public javax.wsdl.extensions.ExtensibilityElement removeExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement element)
Description copied from interface: SwordfishPort

Specified by:
removeExtensibilityElement in interface SwordfishPort
See Also:
ElementExtensible.removeExtensibilityElement(javax.wsdl.extensions.ExtensibilityElement)