org.ow2.easywsdl.wsdl.impl.wsdl20
Class EndpointImpl

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractXMLElementImpl<E>
          extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
              extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractEndpointImpl<EndpointType,Service,Binding>
                  extended by org.ow2.easywsdl.wsdl.impl.wsdl20.EndpointImpl
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfEndpoint<Service,Binding>, Endpoint, WSDLElement

public class EndpointImpl
extends AbstractEndpointImpl<EndpointType,Service,Binding>
implements Endpoint

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractEndpointImpl
service
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
EndpointImpl(EndpointType endpoint, Service service)
           
 
Method Summary
 java.lang.String getAddress()
          Get the address of this port.
 Binding getBinding()
          Get the binding this port refers to.
 java.lang.String getHttpAuthenticationRealm()
           
 java.lang.String getHttpAuthenticationScheme()
           
 java.lang.String getName()
          Get the name of this port.
 java.util.List<org.w3c.dom.Element> getOtherElements()
          Get all the extensibility elements defined here.
 void setAddress(java.lang.String address)
          Set the address of this port.
 void setBinding(Binding binding)
          Set the binding this port should refer to.
 void setName(java.lang.String name)
          Set the name of this port.
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractEndpointImpl
getService
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
addOtherElements, createDocumentation, getDocumentation, getModel, getOtherAttributes, setDocumentation, toString
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
equals, getParent, getSchema, getTopParent, hashCode, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfEndpoint
getService
 
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement
addOtherElements
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation
 

Constructor Detail

EndpointImpl

public EndpointImpl(EndpointType endpoint,
                    Service service)
Method Detail

getBinding

public Binding getBinding()
Description copied from interface: AbsItfEndpoint
Get the binding this port refers to.

Specified by:
getBinding in interface AbsItfEndpoint<Service,Binding>
Returns:
the binding associated with this port

getName

public java.lang.String getName()
Description copied from interface: AbsItfEndpoint
Get the name of this port.

Specified by:
getName in interface AbsItfEndpoint<Service,Binding>
Returns:
the port name

getAddress

public java.lang.String getAddress()
Description copied from interface: AbsItfEndpoint
Get the address of this port.

Specified by:
getAddress in interface AbsItfEndpoint<Service,Binding>
Returns:
the port address

setBinding

public void setBinding(Binding binding)
Description copied from interface: AbsItfEndpoint
Set the binding this port should refer to.

Specified by:
setBinding in interface AbsItfEndpoint<Service,Binding>
Parameters:
binding - the desired binding

setName

public void setName(java.lang.String name)
Description copied from interface: AbsItfEndpoint
Set the name of this port.

Specified by:
setName in interface AbsItfEndpoint<Service,Binding>
Parameters:
name - the desired name

setAddress

public void setAddress(java.lang.String address)
Description copied from interface: AbsItfEndpoint
Set the address of this port.

Specified by:
setAddress in interface AbsItfEndpoint<Service,Binding>
Parameters:
address - the desired name

getHttpAuthenticationRealm

public java.lang.String getHttpAuthenticationRealm()
Specified by:
getHttpAuthenticationRealm in interface AbsItfEndpoint<Service,Binding>

getHttpAuthenticationScheme

public java.lang.String getHttpAuthenticationScheme()
Specified by:
getHttpAuthenticationScheme in interface AbsItfEndpoint<Service,Binding>

getOtherElements

public java.util.List<org.w3c.dom.Element> getOtherElements()
                                                     throws org.ow2.easywsdl.schema.api.XmlException
Description copied from class: AbstractWSDLElementImpl
Get all the extensibility elements defined here.

Specified by:
getOtherElements in interface org.ow2.easywsdl.schema.api.XMLElement
Overrides:
getOtherElements in class AbstractWSDLElementImpl<EndpointType>
Throws:
org.ow2.easywsdl.schema.api.XmlException


Copyright © 2008-2010 Petals Link (previously EBM WebSourcing). All Rights Reserved.