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

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<IncludeType,Description>
                  extended by org.ow2.easywsdl.wsdl.impl.wsdl20.IncludeImpl
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, AbsItfInclude<Description>, Include, WSDLElement

public class IncludeImpl
extends AbstractIncludeImpl<IncludeType,Description>
implements Include

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
IncludeImpl(IncludeType incl, 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.util.List<org.w3c.dom.Element> getOtherElements()
          Get all the extensibility elements defined here.
static IncludeType replaceDOMElementByIncludeType(WSDLElement parent, org.w3c.dom.Element childToReplace, WSDLReaderImpl reader)
           
 void setLocationURI(java.net.URI locationURI)
          Set the location 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

IncludeImpl

public IncludeImpl(IncludeType incl,
                   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

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

replaceDOMElementByIncludeType

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


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