org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl
Class DescriptionImpl

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.Decorator<org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription<S,E,B,I,Incl,Impt,T>>
                  extended by org.ow2.easywsdl.wsdl.decorator.DecoratorDescriptionImpl<org.ow2.easywsdl.wsdl.api.Service,org.ow2.easywsdl.wsdl.api.Endpoint,org.ow2.easywsdl.wsdl.api.Binding,org.ow2.easywsdl.wsdl.api.InterfaceType,org.ow2.easywsdl.wsdl.api.Include,org.ow2.easywsdl.wsdl.api.Import,org.ow2.easywsdl.wsdl.api.Types>
                      extended by org.ow2.easywsdl.extensions.wsdl4complexwsdl.impl.DescriptionImpl
All Implemented Interfaces:
java.io.Serializable, WSDL4ComplexWsdlElement, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription<org.ow2.easywsdl.wsdl.api.Service,org.ow2.easywsdl.wsdl.api.Endpoint,org.ow2.easywsdl.wsdl.api.Binding,org.ow2.easywsdl.wsdl.api.InterfaceType,org.ow2.easywsdl.wsdl.api.Include,org.ow2.easywsdl.wsdl.api.Import,org.ow2.easywsdl.wsdl.api.Types>, org.ow2.easywsdl.wsdl.api.Description, org.ow2.easywsdl.wsdl.api.WSDLElement

public class DescriptionImpl
extends org.ow2.easywsdl.wsdl.decorator.DecoratorDescriptionImpl<org.ow2.easywsdl.wsdl.api.Service,org.ow2.easywsdl.wsdl.api.Endpoint,org.ow2.easywsdl.wsdl.api.Binding,org.ow2.easywsdl.wsdl.api.InterfaceType,org.ow2.easywsdl.wsdl.api.Include,org.ow2.easywsdl.wsdl.api.Import,org.ow2.easywsdl.wsdl.api.Types>
implements Description

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription
org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription.WSDLVersionConstants
 
Field Summary
 
Fields inherited from class org.ow2.easywsdl.wsdl.decorator.Decorator
internalObject
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
DescriptionImpl(org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription wsdl)
           
 
Method Summary
 void addImportedDocumentsInWsdl()
           
 java.util.Map<java.net.URI,org.w3c.dom.Document> deleteImportedDocumentsInWsdl()
          Delete the previously imported document.
 java.util.Map<java.net.URI,org.w3c.dom.Document> deleteImportedDocumentsInWsdl(java.net.URI newBaseURI)
          Delete the previously imported document.
 ImportedDocuments getImportedDocuments()
           
 void setImportedDocuments(ImportedDocuments docs)
           
 
Methods inherited from class org.ow2.easywsdl.wsdl.decorator.DecoratorDescriptionImpl
addBinding, addImport, addInclude, addInterface, addNamespace, addService, createBinding, createDefaultSoapBinding, createImport, createInterface, createService, createTypes, findEndpointsImplementingInterface, getBinding, getBindings, getDocumentBaseURI, getFirstDescription, getImports, getImports, getInclude, getIncludes, getInterface, getInterfaces, getNamespaces, getQName, getSchemaLocation, getService, getServices, getTargetNamespace, getTypes, getVersion, removeBinding, removeImport, removeInclude, removeInterface, removeNamespace, removeService, setDocumentBaseURI, setQName, setTargetNamespace, setTypes, toString
 
Methods inherited from class org.ow2.easywsdl.wsdl.decorator.Decorator
createDocumentation, equals, getDocumentation, getInternalObject, getModel, getOtherAttributes, getOtherElements, getParent, hashCode, setDocumentation
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription
addBinding, addImport, addInclude, addInterface, addNamespace, addService, createBinding, createDefaultSoapBinding, createImport, createInterface, createService, createTypes, findEndpointsImplementingInterface, getBinding, getBindings, getDocumentBaseURI, getImports, getImports, getInclude, getIncludes, getInterface, getInterfaces, getNamespaces, getQName, getSchemaLocation, getService, getServices, getTargetNamespace, getTypes, getVersion, removeBinding, removeImport, removeInclude, removeInterface, removeNamespace, removeService, setDocumentBaseURI, setQName, setTargetNamespace, setTypes
 
Methods inherited from interface org.ow2.easywsdl.schema.api.XMLElement
addOtherElements, getOtherElements
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation
 

Constructor Detail

DescriptionImpl

public DescriptionImpl(org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfDescription wsdl)
                throws org.ow2.easywsdl.wsdl.api.WSDLException
Throws:
org.ow2.easywsdl.wsdl.api.WSDLException
Method Detail

getImportedDocuments

public ImportedDocuments getImportedDocuments()
Specified by:
getImportedDocuments in interface WSDL4ComplexWsdlElement

setImportedDocuments

public void setImportedDocuments(ImportedDocuments docs)
                          throws WSDL4ComplexWsdlException
Specified by:
setImportedDocuments in interface WSDL4ComplexWsdlElement
Throws:
WSDL4ComplexWsdlException

addImportedDocumentsInWsdl

public void addImportedDocumentsInWsdl()
                                throws WSDL4ComplexWsdlException
Throws:
WSDL4ComplexWsdlException

deleteImportedDocumentsInWsdl

public java.util.Map<java.net.URI,org.w3c.dom.Document> deleteImportedDocumentsInWsdl()
                                                                               throws WSDL4ComplexWsdlException
Delete the previously imported document. Each imported document is put in the returned Map with an base URI defined by its original URI.

Returns:
a Map with all the previously imported document
Throws:
WSDL4ComplexWsdlException

deleteImportedDocumentsInWsdl

public java.util.Map<java.net.URI,org.w3c.dom.Document> deleteImportedDocumentsInWsdl(java.net.URI newBaseURI)
                                                                               throws WSDL4ComplexWsdlException
Delete the previously imported document. Each imported document is put in the returned Map with an base URI defined by newBaseURI.

Parameters:
newBaseURI - The base URI of the new location to create. If null, the original name of the document is used if not null too.
Returns:
a Map with all the previously imported document
Throws:
WSDL4ComplexWsdlException


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