org.ow2.easywsdl.wsdl.api.abstractElmt
Class AbstractWSDLElementImpl<E>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by org.ow2.easywsdl.xml.impl.AbstractXMLElementImpl<E>
          extended by org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl<E>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, WSDLElement, org.ow2.easywsdl.xml.api.XMLElement
Direct Known Subclasses:
AbstractBindingImpl, AbstractBindingOperationImpl, AbstractBindingParamImpl, AbstractBindingPartImpl, AbstractDescriptionImpl, AbstractEndpointImpl, AbstractIncludeImpl, AbstractInterfaceTypeImpl, AbstractOperationImpl, AbstractParamImpl, AbstractPartImpl, AbstractServiceImpl, AbstractTypesImpl, DecoratorBindingImpl, DecoratorBindingOperationImpl, DecoratorBindingParamImpl, DecoratorBindingPartImpl, DecoratorDescriptionImpl, DecoratorEndpointImpl, DecoratorImportImpl, DecoratorIncludeImpl, DecoratorInterfaceTypeImpl, DecoratorOperationImpl, DecoratorParamImpl, DecoratorPartImpl, DecoratorServiceImpl, DecoratorTypesImpl, DocumentationImpl, DocumentationImpl, HTTPHeaderImpl, MessageImpl, SOAPHeaderImpl, SOAPModuleImpl

public abstract class AbstractWSDLElementImpl<E>
extends org.ow2.easywsdl.xml.impl.AbstractXMLElementImpl<E>
implements WSDLElement

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

Field Summary
protected  org.ow2.easywsdl.schema.api.Documentation documentation
           
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
model, parent
 
Constructor Summary
AbstractWSDLElementImpl()
           
AbstractWSDLElementImpl(E model, AbstractWSDLElementImpl parent)
           
 
Method Summary
 org.ow2.easywsdl.schema.api.Documentation createDocumentation()
          Create the documentation element.
protected  org.w3c.dom.Element createElementFromString(java.lang.String xmlElmt)
           
 org.ow2.easywsdl.schema.api.Documentation getDocumentation()
          Get the documentation.
 E getModel()
           
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Get the map containing all the attributes defined on this element.
 java.util.List<org.w3c.dom.Element> getOtherElements()
          Get all the extensibility elements defined here.
 void setDocumentation(org.ow2.easywsdl.schema.api.Documentation doc)
          Set the documentation for this document.
 java.lang.String 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
 

Field Detail

documentation

protected org.ow2.easywsdl.schema.api.Documentation documentation
Constructor Detail

AbstractWSDLElementImpl

public AbstractWSDLElementImpl()

AbstractWSDLElementImpl

public AbstractWSDLElementImpl(E model,
                               AbstractWSDLElementImpl parent)
Method Detail

setDocumentation

public void setDocumentation(org.ow2.easywsdl.schema.api.Documentation doc)
Set the documentation for this document.

Specified by:
setDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
setDocumentation in class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
Parameters:
docEl - the documentation element

getDocumentation

public org.ow2.easywsdl.schema.api.Documentation getDocumentation()
Get the documentation.

Specified by:
getDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
getDocumentation in class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
Returns:
the documentation element

createDocumentation

public org.ow2.easywsdl.schema.api.Documentation createDocumentation()
Create the documentation element.

Specified by:
createDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
createDocumentation in class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
Returns:
the documentation element

getOtherElements

public java.util.List<org.w3c.dom.Element> getOtherElements()
                                                     throws org.ow2.easywsdl.schema.api.XmlException
Get all the extensibility elements defined here.

Specified by:
getOtherElements in interface org.ow2.easywsdl.xml.api.XMLElement
Throws:
WSDLException
org.ow2.easywsdl.schema.api.XmlException

createElementFromString

protected org.w3c.dom.Element createElementFromString(java.lang.String xmlElmt)
                                               throws WSDLException
Throws:
WSDLException

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
                                                                             throws org.ow2.easywsdl.schema.api.XmlException
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 org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
Returns:
a map containing all the attributes defined on this element
Throws:
WSDLException
org.ow2.easywsdl.schema.api.XmlException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getModel

public E getModel()
Overrides:
getModel in class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>


Copyright © 2008 eBM WebSourcing. All Rights Reserved.