java.lang.Object
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.schema.api.abstractElmt.AbstractXMLElementImpl<E>
org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
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
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
documentation, model, parent |
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 |
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
DecoratorDescriptionImpl
public DecoratorDescriptionImpl(AbsItfDescription<S,E,B,I,Incl,Impt,T> wsdl,
java.lang.Class<? extends DecoratorTypesImpl> typesImpl)
throws WSDLException
- Throws:
WSDLException
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.