org.ow2.easywsdl.wsdl.decorator
Class Decorator<IO extends WSDLElement>

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<IO>
All Implemented Interfaces:
java.io.Serializable, org.ow2.easywsdl.schema.api.SchemaElement, org.ow2.easywsdl.schema.api.XMLElement, WSDLElement
Direct Known Subclasses:
DecoratorBindingImpl, DecoratorBindingOperationImpl, DecoratorBindingParamImpl, DecoratorBindingPartImpl, DecoratorDescriptionImpl, DecoratorEndpointImpl, DecoratorImportImpl, DecoratorIncludeImpl, DecoratorInterfaceTypeImpl, DecoratorOperationImpl, DecoratorParamImpl, DecoratorPartImpl, DecoratorServiceImpl, DecoratorTypesImpl

public abstract class Decorator<IO extends WSDLElement>
extends AbstractWSDLElementImpl

Author:
Nicolas Boissel-Dallier - Petals Link
See Also:
Serialized Form

Field Summary
protected  IO internalObject
           
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
Decorator()
           
 
Method Summary
 org.ow2.easywsdl.schema.api.Documentation createDocumentation()
          Create the documentation element.
 boolean equals(java.lang.Object o)
           
 org.ow2.easywsdl.schema.api.Documentation getDocumentation()
          Get the documentation.
 WSDLElement getInternalObject()
           
 java.lang.Object 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.
 org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl getParent()
           
 int hashCode()
           
 void setDocumentation(org.ow2.easywsdl.schema.api.Documentation doc)
          Set the documentation for this document.
 
Methods inherited from class org.ow2.easywsdl.wsdl.api.abstractElmt.AbstractWSDLElementImpl
addOtherElements, toString
 
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
 

Field Detail

internalObject

protected IO extends WSDLElement internalObject
Constructor Detail

Decorator

public Decorator()
Method Detail

createDocumentation

public org.ow2.easywsdl.schema.api.Documentation createDocumentation()
Description copied from class: AbstractWSDLElementImpl
Create the documentation element.

Specified by:
createDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
createDocumentation in class AbstractWSDLElementImpl
Returns:
the documentation element

getDocumentation

public org.ow2.easywsdl.schema.api.Documentation getDocumentation()
Description copied from class: AbstractWSDLElementImpl
Get the documentation.

Specified by:
getDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
getDocumentation in class AbstractWSDLElementImpl
Returns:
the documentation element

getOtherAttributes

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

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

setDocumentation

public void setDocumentation(org.ow2.easywsdl.schema.api.Documentation doc)
Description copied from class: AbstractWSDLElementImpl
Set the documentation for this document.

Specified by:
setDocumentation in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
setDocumentation in class AbstractWSDLElementImpl

getModel

public java.lang.Object getModel()
Overrides:
getModel in class AbstractWSDLElementImpl

getParent

public org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl getParent()
Overrides:
getParent in class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl

getInternalObject

public WSDLElement getInternalObject()

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
equals in class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl

hashCode

public int hashCode()
Specified by:
hashCode in interface org.ow2.easywsdl.schema.api.SchemaElement
Overrides:
hashCode in class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl


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