Class Decorator<IO extends SchemaElement>
- java.lang.Object
-
- org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
-
- org.ow2.easywsdl.schema.decorator.Decorator<IO>
-
- All Implemented Interfaces:
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
Fields Modifier and Type Field Description protected IOinternalObject-
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
-
-
Constructor Summary
Constructors Constructor Description Decorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentationcreateDocumentation()Create the documentation element.booleanequals(Object o)DocumentationgetDocumentation()Get the documentation.SchemaElementgetInternalObject()ObjectgetModel()Map<QName,String>getOtherAttributes()Get the map containing all the attributes defined on this element.AbstractSchemaElementImplgetParent()inthashCode()voidsetDocumentation(Documentation doc)Set the documentation for this document.-
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
getSchema, getTopParent, setParent
-
-
-
-
Field Detail
-
internalObject
protected IO extends SchemaElement internalObject
-
-
Method Detail
-
createDocumentation
public Documentation createDocumentation()
Description copied from class:AbstractSchemaElementImplCreate the documentation element.- Specified by:
createDocumentationin interfaceSchemaElement- Overrides:
createDocumentationin classAbstractSchemaElementImpl- Returns:
- the documentation element
-
getDocumentation
public Documentation getDocumentation()
Description copied from class:AbstractSchemaElementImplGet the documentation.- Specified by:
getDocumentationin interfaceSchemaElement- Overrides:
getDocumentationin classAbstractSchemaElementImpl- Returns:
- the documentation element
-
getOtherAttributes
public Map<QName,String> getOtherAttributes() throws XmlException
Description copied from class:AbstractSchemaElementImplGet the map containing all the attributes defined on this element. The keys are the qnames of the attributes.- Specified by:
getOtherAttributesin interfaceSchemaElement- Overrides:
getOtherAttributesin classAbstractSchemaElementImpl- Returns:
- a map containing all the attributes defined on this element
- Throws:
XmlException
-
setDocumentation
public void setDocumentation(Documentation doc)
Description copied from class:AbstractSchemaElementImplSet the documentation for this document.- Specified by:
setDocumentationin interfaceSchemaElement- Overrides:
setDocumentationin classAbstractSchemaElementImpl- Parameters:
doc- the documentation element
-
getModel
public Object getModel()
- Overrides:
getModelin classAbstractSchemaElementImpl
-
getParent
public AbstractSchemaElementImpl getParent()
- Overrides:
getParentin classAbstractSchemaElementImpl
-
getInternalObject
public SchemaElement getInternalObject()
-
equals
public boolean equals(Object o)
- Specified by:
equalsin interfaceSchemaElement- Overrides:
equalsin classAbstractSchemaElementImpl
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceSchemaElement- Overrides:
hashCodein classAbstractSchemaElementImpl
-
-