org.ow2.easywsdl.wsdl.decorator
Class DecoratorDescriptionImpl<S extends AbsItfService,E extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType,Incl extends AbsItfInclude,Impt extends AbsItfImport,T extends AbsItfTypes>

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.DecoratorDescriptionImpl<S,E,B,I,Incl,Impt,T>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, WSDLElement, Decorator

public class DecoratorDescriptionImpl<S extends AbsItfService,E extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType,Incl extends AbsItfInclude,Impt extends AbsItfImport,T extends AbsItfTypes>
extends AbstractWSDLElementImpl
implements Decorator

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

Field Summary
protected  AbsItfDescription<S,E,B,I,Incl,Impt,T> wsdl
           
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
DecoratorDescriptionImpl(AbsItfDescription<S,E,B,I,Incl,Impt,T> wsdl, java.lang.Class<? extends DecoratorTypesImpl> typesImpl)
           
 
Method Summary
 void addBinding(B arg0)
           
 void addImport(Impt arg0)
           
 void addInclude(Incl arg0)
           
 void addInterface(I interfaceType)
           
 void addNamespace(java.lang.String arg0, java.lang.String arg1)
           
 void addService(S arg0)
           
 B createBinding()
           
 B createDefaultSoapBinding(java.lang.String bindingName, E endpoint, I itf)
           
 org.ow2.easywsdl.schema.api.Documentation createDocumentation()
          Create the documentation element.
 Impt createImport()
           
 I createInterface()
           
 S createService()
           
 T createTypes()
           
 java.util.List<E> findEndpointsImplementingInterface(I itf)
           
 B getBinding(javax.xml.namespace.QName arg0)
           
 java.util.List<B> getBindings()
           
 org.ow2.easywsdl.schema.api.Documentation getDocumentation()
          Get the documentation.
 java.net.URI getDocumentBaseURI()
           
 Description getFirstDescription()
           
 java.util.List<Impt> getImports()
           
 java.util.List<Impt> getImports(java.lang.String arg0)
           
 Incl getInclude(java.net.URI arg0)
           
 java.util.List<Incl> getIncludes()
           
 I getInterface(javax.xml.namespace.QName name)
           
 java.util.List<I> getInterfaces()
           
 WSDLElement getInternalObject()
           
 java.lang.Object getModel()
           
 org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl getNamespaces()
           
 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()
           
 java.util.Map<java.lang.String,java.lang.String> getSchemaLocation()
           
 S getService(javax.xml.namespace.QName arg0)
           
 java.util.List<S> getServices()
           
 java.lang.String getTargetNamespace()
           
 T getTypes()
           
 AbsItfDescription.WSDLVersionConstants getVersion()
           
 B removeBinding(javax.xml.namespace.QName arg0)
           
 Impt removeImport(Impt arg0)
           
 Incl removeInclude(Incl arg0)
           
 I removeInterface(javax.xml.namespace.QName name)
           
 java.lang.String removeNamespace(java.lang.String arg0)
           
 S removeService(javax.xml.namespace.QName arg0)
           
 void setDocumentation(org.ow2.easywsdl.schema.api.Documentation arg0)
          Set the documentation for this document.
 void setDocumentBaseURI(java.net.URI arg0)
           
 void setQName(javax.xml.namespace.QName arg0)
           
 void setTargetNamespace(java.lang.String arg0)
           
 void setTypes(T type)
           
 java.lang.String toString()
           
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
addOtherElements
 
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

wsdl

protected AbsItfDescription<S extends AbsItfService,E extends AbsItfEndpoint,B extends AbsItfBinding,I extends AbsItfInterfaceType,Incl extends AbsItfInclude,Impt extends AbsItfImport,T extends AbsItfTypes> wsdl
Constructor Detail

DecoratorDescriptionImpl

public DecoratorDescriptionImpl(AbsItfDescription<S,E,B,I,Incl,Impt,T> wsdl,
                                java.lang.Class<? extends DecoratorTypesImpl> typesImpl)
                         throws WSDLException
Throws:
WSDLException
Method Detail

getFirstDescription

public Description getFirstDescription()

addBinding

public void addBinding(B arg0)

addImport

public void addImport(Impt arg0)

addInclude

public void addInclude(Incl arg0)
                throws WSDLException
Throws:
WSDLException

addNamespace

public void addNamespace(java.lang.String arg0,
                         java.lang.String arg1)

addService

public void addService(S arg0)

createBinding

public B createBinding()

createImport

public Impt createImport()
                                       throws WSDLException,
                                              WSDLImportException
Throws:
WSDLException
WSDLImportException

createService

public S createService()

createTypes

public T createTypes()

getBinding

public B getBinding(javax.xml.namespace.QName arg0)

getBindings

public java.util.List<B> getBindings()

getImports

public java.util.List<Impt> getImports()

getImports

public java.util.List<Impt> getImports(java.lang.String arg0)

getIncludes

public java.util.List<Incl> getIncludes()

getInclude

public Incl getInclude(java.net.URI arg0)

getNamespaces

public org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl getNamespaces()

getQName

public javax.xml.namespace.QName getQName()
                                   throws WSDLException
Throws:
WSDLException

getSchemaLocation

public java.util.Map<java.lang.String,java.lang.String> getSchemaLocation()

getService

public S getService(javax.xml.namespace.QName arg0)

getServices

public java.util.List<S> getServices()

getTargetNamespace

public java.lang.String getTargetNamespace()

getTypes

public T getTypes()

getVersion

public AbsItfDescription.WSDLVersionConstants getVersion()

removeBinding

public B removeBinding(javax.xml.namespace.QName arg0)

removeImport

public Impt removeImport(Impt arg0)

removeInclude

public Incl removeInclude(Incl arg0)
                                         throws WSDLException
Throws:
WSDLException

removeNamespace

public java.lang.String removeNamespace(java.lang.String arg0)

removeService

public S removeService(javax.xml.namespace.QName arg0)

setDocumentBaseURI

public void setDocumentBaseURI(java.net.URI arg0)

setQName

public void setQName(javax.xml.namespace.QName arg0)
              throws WSDLException
Throws:
WSDLException

setTargetNamespace

public void setTargetNamespace(java.lang.String arg0)

setTypes

public void setTypes(T type)

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

createInterface

public I createInterface()

getInterface

public I getInterface(javax.xml.namespace.QName name)

getInterfaces

public java.util.List<I> getInterfaces()

removeInterface

public I removeInterface(javax.xml.namespace.QName name)

addInterface

public void addInterface(I interfaceType)

createDefaultSoapBinding

public B createDefaultSoapBinding(java.lang.String bindingName,
                                  E endpoint,
                                  I itf)

findEndpointsImplementingInterface

public java.util.List<E> findEndpointsImplementingInterface(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

getDocumentBaseURI

public java.net.URI getDocumentBaseURI()

toString

public java.lang.String toString()
Overrides:
toString in class AbstractWSDLElementImpl


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