org.ow2.easywsdl.schema.decorator
Class Decorator<IO extends SchemaElement>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
      extended by org.ow2.easywsdl.schema.decorator.Decorator<IO>
All Implemented Interfaces:
java.io.Serializable, SchemaElement
Direct Known Subclasses:
DecoratorAnnotationImpl, DecoratorAttributeGroupImpl, DecoratorAttributeImpl, DecoratorComplexContentImpl, DecoratorElementImpl, DecoratorEnumerationImpl, DecoratorExtensionImpl, DecoratorGroupImpl, DecoratorImportImpl, DecoratorIncludeImpl, DecoratorNotationImpl, DecoratorRedefineImpl, DecoratorRestrictionImpl, DecoratorSchemaImpl, DecoratorSimpleContentImpl, DecoratorTypeImpl

public abstract class Decorator<IO extends SchemaElement>
extends AbstractSchemaElementImpl

Author:
Nicolas Salatge - eBM WebSourcing
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
 Documentation createDocumentation()
          Create the documentation element.
 boolean equals(java.lang.Object o)
           
 Documentation getDocumentation()
          Get the documentation.
 SchemaElement 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.
 AbstractSchemaElementImpl getParent()
           
 int hashCode()
           
 void setDocumentation(Documentation doc)
          Set the documentation for this document.
 
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, toString, wait, wait, wait
 

Field Detail

internalObject

protected IO extends SchemaElement internalObject
Constructor Detail

Decorator

public Decorator()
Method Detail

createDocumentation

public Documentation createDocumentation()
Description copied from class: AbstractSchemaElementImpl
Create the documentation element.

Specified by:
createDocumentation in interface SchemaElement
Overrides:
createDocumentation in class AbstractSchemaElementImpl
Returns:
the documentation element

getDocumentation

public Documentation getDocumentation()
Description copied from class: AbstractSchemaElementImpl
Get the documentation.

Specified by:
getDocumentation in interface SchemaElement
Overrides:
getDocumentation in class AbstractSchemaElementImpl
Returns:
the documentation element

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
                                                                             throws XmlException
Description copied from class: AbstractSchemaElementImpl
Get the map containing all the attributes defined on this element. The keys are the qnames of the attributes.

Specified by:
getOtherAttributes in interface SchemaElement
Overrides:
getOtherAttributes in class AbstractSchemaElementImpl
Returns:
a map containing all the attributes defined on this element
Throws:
XmlException

setDocumentation

public void setDocumentation(Documentation doc)
Description copied from class: AbstractSchemaElementImpl
Set the documentation for this document.

Specified by:
setDocumentation in interface SchemaElement
Overrides:
setDocumentation in class AbstractSchemaElementImpl

getModel

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

getParent

public AbstractSchemaElementImpl getParent()
Overrides:
getParent in class AbstractSchemaElementImpl

getInternalObject

public SchemaElement getInternalObject()

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface SchemaElement
Overrides:
equals in class AbstractSchemaElementImpl

hashCode

public int hashCode()
Specified by:
hashCode in interface SchemaElement
Overrides:
hashCode in class AbstractSchemaElementImpl


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