org.ow2.easywsdl.wsdl.decorator
Class DecoratorServiceImpl<I extends AbsItfInterfaceType,E extends AbsItfEndpoint>

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
              extended by org.ow2.easywsdl.wsdl.decorator.DecoratorServiceImpl<I,E>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, WSDLElement, Decorator

public class DecoratorServiceImpl<I extends AbsItfInterfaceType,E extends AbsItfEndpoint>
extends AbstractWSDLElementImpl
implements Decorator

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

Field Summary
protected  AbsItfService<I,E> service
           
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
DecoratorServiceImpl(AbsItfService<I,E> service)
           
 
Method Summary
 void addEndpoint(E arg0)
           
 org.ow2.easywsdl.schema.api.Documentation createDocumentation()
          Create the documentation element.
 E createEndpoint()
           
 org.ow2.easywsdl.schema.api.Documentation getDocumentation()
          Get the documentation.
 E getEndpoint(java.lang.String arg0)
           
 java.util.List<E> getEndpoints()
           
 I getInterface()
           
 WSDLElement getInternalObject()
           
 java.lang.Object getModel()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Get the map containing all the attributes defined on this element.
 java.util.List<org.w3c.dom.Element> getOtherElements()
          Get all the extensibility elements defined here.
 org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl getParent()
           
 javax.xml.namespace.QName getQName()
           
 E removeEndpoint(java.lang.String arg0)
           
 void setDocumentation(org.ow2.easywsdl.schema.api.Documentation arg0)
          Set the documentation for this document.
 void setInterface(I itf)
           
 void setQName(javax.xml.namespace.QName arg0)
           
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
addOtherElements, toString
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
getSchema, getTopParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

service

protected AbsItfService<I extends AbsItfInterfaceType,E extends AbsItfEndpoint> service
Constructor Detail

DecoratorServiceImpl

public DecoratorServiceImpl(AbsItfService<I,E> service)
                     throws WSDLException
Throws:
WSDLException
Method Detail

addEndpoint

public void addEndpoint(E arg0)

getEndpoint

public E getEndpoint(java.lang.String arg0)

getEndpoints

public java.util.List<E> getEndpoints()

getInterface

public I getInterface()
                                           throws WSDLException
Throws:
WSDLException

getQName

public javax.xml.namespace.QName getQName()

removeEndpoint

public E removeEndpoint(java.lang.String arg0)

setQName

public void setQName(javax.xml.namespace.QName arg0)

createDocumentation

public org.ow2.easywsdl.schema.api.Documentation createDocumentation()
Description copied from class: AbstractWSDLElementImpl
Create the documentation element.

Specified by:
createDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
createDocumentation in class AbstractWSDLElementImpl
Returns:
the documentation element

getDocumentation

public org.ow2.easywsdl.schema.api.Documentation getDocumentation()
Description copied from class: AbstractWSDLElementImpl
Get the documentation.

Specified by:
getDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
getDocumentation in class AbstractWSDLElementImpl
Returns:
the documentation element

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
                                                                             throws org.ow2.easywsdl.schema.api.XmlException
Description copied from class: AbstractWSDLElementImpl
Get the map containing all the attributes defined on this element. The keys are the qnames of the attributes.

Specified by:
getOtherAttributes in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
getOtherAttributes in class AbstractWSDLElementImpl
Returns:
a map containing all the attributes defined on this element
Throws:
org.ow2.easywsdl.schema.api.XmlException

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
Throws:
org.ow2.easywsdl.schema.api.XmlException

setDocumentation

public void setDocumentation(org.ow2.easywsdl.schema.api.Documentation arg0)
Description copied from class: AbstractWSDLElementImpl
Set the documentation for this document.

Specified by:
setDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
setDocumentation in class AbstractWSDLElementImpl

createEndpoint

public E createEndpoint()

setInterface

public void setInterface(I itf)

getModel

public java.lang.Object getModel()
Overrides:
getModel in class AbstractWSDLElementImpl

getParent

public org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl getParent()
Overrides:
getParent in class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl

getInternalObject

public WSDLElement getInternalObject()
Specified by:
getInternalObject in interface Decorator


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