org.ow2.easywsdl.schema.api.abstractElmt
Class AbstractSchemaElementImpl<E>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
All Implemented Interfaces:
java.io.Serializable, SchemaElement
Direct Known Subclasses:
AbstractAllImpl, AbstractAttributeImpl, AbstractChoiceImpl, AbstractComplexContentImpl, AbstractElementImpl, AbstractExtensionImpl, AbstractIncludeImpl, AbstractSchemaImpl, AbstractSequenceImpl, AbstractSimpleContentImpl, AbstractTypeImpl, AbstractXMLElementImpl, DocumentationImpl

public abstract class AbstractSchemaElementImpl<E>
extends java.lang.Object
implements SchemaElement

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

Field Summary
protected  Documentation documentation
           
protected  E model
          the model
protected  AbstractSchemaElementImpl parent
           
 
Constructor Summary
AbstractSchemaElementImpl()
           
AbstractSchemaElementImpl(E model, AbstractSchemaElementImpl parent)
           
 
Method Summary
 Documentation createDocumentation()
          Create the documentation element.
 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.
 AbstractSchemaElementImpl getParent()
           
 AbsItfSchema getSchema()
           
 AbstractSchemaElementImpl getTopParent()
           
 void setDocumentation(Documentation doc)
          Set the documentation for this document.
 void setParent(AbstractSchemaElementImpl parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected E model
the model


parent

protected AbstractSchemaElementImpl parent

documentation

protected Documentation documentation
Constructor Detail

AbstractSchemaElementImpl

public AbstractSchemaElementImpl()

AbstractSchemaElementImpl

public AbstractSchemaElementImpl(E model,
                                 AbstractSchemaElementImpl parent)
Method Detail

setDocumentation

public void setDocumentation(Documentation doc)
Set the documentation for this document.

Specified by:
setDocumentation in interface SchemaElement
Parameters:
docEl - the documentation element

getDocumentation

public Documentation getDocumentation()
Get the documentation.

Specified by:
getDocumentation in interface SchemaElement
Returns:
the documentation element

createDocumentation

public Documentation createDocumentation()
Create the documentation element.

Specified by:
createDocumentation in interface SchemaElement
Returns:
the documentation element

getOtherAttributes

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

getModel

public E getModel()

getParent

public AbstractSchemaElementImpl getParent()

getTopParent

public AbstractSchemaElementImpl getTopParent()

getSchema

public AbsItfSchema getSchema()

setParent

public void setParent(AbstractSchemaElementImpl parent)


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