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

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.AbstractIncludeImpl<E,D>
                  extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractImportImpl<ImportType,Description>
                      extended by org.ow2.easywsdl.wsdl.impl.wsdl20.ImportImpl
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfImport<Description>, AbsItfInclude<Description>, Import, WSDLElement

public class ImportImpl
extends AbstractImportImpl<ImportType,Description>
implements Import

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

Field Summary
 
Fields inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractIncludeImpl
desc
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
ImportImpl(ImportType impt, Description parent, java.util.Map<java.net.URI,AbsItfDescription> descriptionImports, java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports, java.net.URI baseURI, WSDLReaderImpl reader)
           
 
Method Summary
 java.net.URI getLocationURI()
          Get the location URI of this import.
 java.lang.String getNamespaceURI()
          Get the namespace URI of this import.
 java.util.List<org.w3c.dom.Element> getOtherElements()
          Get all the extensibility elements defined here.
static ImportType replaceDOMElementByImportType(WSDLElement parent, org.w3c.dom.Element childToReplace, WSDLReaderImpl reader)
           
 void setLocationURI(java.net.URI locationURI)
          Set the location URI of this import.
 void setNamespaceURI(java.lang.String namespaceURI)
          Set the namespace URI of this import.
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractIncludeImpl
getDescription, getParentDescription, setDescription, setParentDescription
 
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.AbsItfInclude
getDescription, setDescription
 
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

ImportImpl

public ImportImpl(ImportType impt,
                  Description parent,
                  java.util.Map<java.net.URI,AbsItfDescription> descriptionImports,
                  java.util.Map<java.net.URI,org.ow2.easywsdl.schema.api.absItf.AbsItfSchema> schemaImports,
                  java.net.URI baseURI,
                  WSDLReaderImpl reader)
           throws WSDLException,
                  WSDLImportException
Throws:
WSDLException
WSDLImportException
Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
Description copied from interface: AbsItfImport
Get the namespace URI of this import.

Specified by:
getNamespaceURI in interface AbsItfImport<Description>

setNamespaceURI

public void setNamespaceURI(java.lang.String namespaceURI)
Description copied from interface: AbsItfImport
Set the namespace URI of this import.

Specified by:
setNamespaceURI in interface AbsItfImport<Description>
Parameters:
namespaceURI - the desired namespace URI

getLocationURI

public java.net.URI getLocationURI()
Get the location URI of this import.

Specified by:
getLocationURI in interface AbsItfInclude<Description>
Returns:
the location URI of this import or null if undefined.

setLocationURI

public void setLocationURI(java.net.URI locationURI)
Set the location URI of this import.

Specified by:
setLocationURI in interface AbsItfInclude<Description>
Parameters:
locationURI - the desired location URI

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

replaceDOMElementByImportType

public static ImportType replaceDOMElementByImportType(WSDLElement parent,
                                                       org.w3c.dom.Element childToReplace,
                                                       WSDLReaderImpl reader)
                                                throws WSDLException
Throws:
WSDLException


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