org.ow2.easywsdl.wsdl.impl.wsdl11
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<TImport,Description>
                      extended by org.ow2.easywsdl.wsdl.impl.wsdl11.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<TImport,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(TImport 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.
static TImport replaceDOMElementByTImport(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, getOtherElements, setDocumentation, toString
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
getParent, getSchema, getTopParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, 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, getOtherElements
 
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation
 

Constructor Detail

ImportImpl

public ImportImpl(TImport 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

replaceDOMElementByTImport

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


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